Re: [PATCH 2/2] Bluetooth : Load debug config based on the debug support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kiran,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on bluetooth-next/master]
[also build test ERROR on next-20200529]
[cannot apply to v5.7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Kiran-K/Bluetooth-Add-support-to-Intel-read-supported-feature/20200602-131028
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.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
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from drivers/bluetooth/hci_ldisc.c:34:
>> drivers/bluetooth/btintel.h:206:1: error: expected identifier or '(' before '{' token
206 | {
| ^
drivers/bluetooth/btintel.h:203:12: warning: 'btintel_load_debug_config_based_on_supported_features' declared 'static' but never defined [-Wunused-function]
203 | static int btintel_load_debug_config_based_on_supported_features(
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.h:198:12: warning: 'btintel_read_supported_features' defined but not used [-Wunused-function]
198 | static int btintel_read_supported_features(struct hci_dev *hdev,
|            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +206 drivers/bluetooth/btintel.h

   194	
   195	static inline void btintel_reset_to_bootloader(struct hci_dev *hdev)
   196	{
   197	}
   198	static int btintel_read_supported_features(struct hci_dev *hdev,
   199			struct intel_supported_features *supported_features)
   200	{
   201		return -EOPNOTSUPP;
   202	}
   203	static int btintel_load_debug_config_based_on_supported_features(
   204		struct hci_dev *hdev,
   205		const struct intel_supported_features *supported_features);
 > 206	{
   207		return -EOPNOTSUPP;
   208	}
   209	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux