Re: [PATCH 1/2] Bluetooth: btintel: Add platform device for rfkill signal
From: kbuild test robot <hidden>
Date: 2018-08-21 14:54:49
Hi Sukumar, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bluetooth/master] [also build test WARNING on v4.18 next-20180821] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Raghuram-Hegde/Bluetooth-btintel-Add-platform-device-for-rfkill-signal/20180821-195829 base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git master config: arm-multi_v7_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: 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 GCC_VERSION=7.2.0 make.cross ARCH=arm All warnings (new ones prefixed by >>): In file included from drivers/bluetooth/hci_ldisc.c:49:0: drivers/bluetooth/btintel.h: In function 'btintel_reset_bt':
quoted
drivers/bluetooth/btintel.h:177:9: warning: 'return' with a value, in function returning void
return -EOPNOTSUPP;
^
drivers/bluetooth/btintel.h:175:20: note: declared here
static inline void btintel_reset_bt(struct hci_dev *hdev, unsigned char code)
^~~~~~~~~~~~~~~~
vim +/return +177 drivers/bluetooth/btintel.h
174
175 static inline void btintel_reset_bt(struct hci_dev *hdev, unsigned char code)
176 {
> 177 return -EOPNOTSUPP;
178 }
179
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/gzip] 43451 bytes