[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202108100252.2RrOR5hK-lkp@intel.com>
Date: Tue, 10 Aug 2021 02:26:20 +0800
From: kernel test robot <lkp@...el.com>
To: max.chou@...ltek.com, marcel@...tmann.org, johan.hedberg@...il.com,
luiz.dentz@...il.com, matthias.bgg@...il.com,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Cc: kbuild-all@...ts.01.org, alex_lu@...lsil.com.cn,
hildawu@...ltek.com
Subject: Re: [PATCH] Bluetooth: btusb: Remove WAKEUP_DISABLE and add
WAKEUP_AUTOSUSPEND for Realtek devices
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on bluetooth/master]
[also build test ERROR on bluetooth-next/master v5.14-rc5 next-20210809]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/max-chou-realtek-com/Bluetooth-btusb-Remove-WAKEUP_DISABLE-and-add-WAKEUP_AUTOSUSPEND-for-Realtek-devices/20210809-210601
base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git master
config: h8300-buildonly-randconfig-r001-20210809 (attached as .config)
compiler: h8300-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/a791e68679a17d6560048ebc7b8ca1ed4491a5b5
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review max-chou-realtek-com/Bluetooth-btusb-Remove-WAKEUP_DISABLE-and-add-WAKEUP_AUTOSUSPEND-for-Realtek-devices/20210809-210601
git checkout a791e68679a17d6560048ebc7b8ca1ed4491a5b5
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash drivers/bluetooth/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
drivers/bluetooth/btusb.c: In function 'btusb_prevent_wake':
>> drivers/bluetooth/btusb.c:4402:15: error: 'BTUSB_WAKEUP_DISABLE' undeclared (first use in this function)
4402 | if (test_bit(BTUSB_WAKEUP_DISABLE, &data->flags))
| ^~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btusb.c:4402:15: note: each undeclared identifier is reported only once for each function it appears in
vim +/BTUSB_WAKEUP_DISABLE +4402 drivers/bluetooth/btusb.c
fc54910280eb38 Hans de Goede 2018-04-27 4397
b7d0bf11a7ad0e Abhishek Pandit-Subedi 2020-05-12 4398 static bool btusb_prevent_wake(struct hci_dev *hdev)
b7d0bf11a7ad0e Abhishek Pandit-Subedi 2020-05-12 4399 {
b7d0bf11a7ad0e Abhishek Pandit-Subedi 2020-05-12 4400 struct btusb_data *data = hci_get_drvdata(hdev);
b7d0bf11a7ad0e Abhishek Pandit-Subedi 2020-05-12 4401
34a68655a1414a Abhishek Pandit-Subedi 2020-06-24 @4402 if (test_bit(BTUSB_WAKEUP_DISABLE, &data->flags))
34a68655a1414a Abhishek Pandit-Subedi 2020-06-24 4403 return true;
34a68655a1414a Abhishek Pandit-Subedi 2020-06-24 4404
b7d0bf11a7ad0e Abhishek Pandit-Subedi 2020-05-12 4405 return !device_may_wakeup(&data->udev->dev);
b7d0bf11a7ad0e Abhishek Pandit-Subedi 2020-05-12 4406 }
b7d0bf11a7ad0e Abhishek Pandit-Subedi 2020-05-12 4407
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (39503 bytes)
Powered by blists - more mailing lists