tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: e49b215c996cd58949812f549dd65b0f6c7706bf
commit: bd678f05a7058d1c81ab5640f6e5fe6109175bee [9998/9999] CHROMIUM: Bluetooth: surface
AOSP quality report through mgmt
config: x86_64-randconfig-a013
(
https://download.01.org/0day-ci/archive/20220113/202201131512.zF6BU5Ah-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout bd678f05a7058d1c81ab5640f6e5fe6109175bee
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash net/bluetooth/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from net/bluetooth/aosp.c:6:
net/bluetooth/aosp.c: In function 'aosp_pull_quality_report_data':
> net/bluetooth/aosp.c:256:10: warning: format '%u' expects
argument of type 'unsigned int', but argument 3 has type 'size_t' {aka
'long unsigned int'} [-Wformat=]
256 | BT_ERR("AOSP evt data len
%d too short (%u expected)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257 | skb->len, bqr_data_len);
| ~~~~~~~~~~~~
| |
| size_t {aka long unsigned int}
include/net/bluetooth/bluetooth.h:166:19: note: in definition of macro
'BT_ERR'
166 | bt_err(BT_PREFIX fmt "\n" BT_PREFIX_PARAM, ##__VA_ARGS__)
| ^~~
net/bluetooth/aosp.c:256:44: note: format string is defined here
256 | BT_ERR("AOSP evt data len %d too short (%u expected)",
| ~^
| |
| unsigned int
| %lu
vim +256 net/bluetooth/aosp.c
245
246 bool aosp_pull_quality_report_data(struct sk_buff *skb)
247 {
248 size_t bqr_data_len = sizeof(struct bqr_data);
249
250 skb_pull(skb, sizeof(struct aosp_hci_vs_data));
251
252 /* skb->len is allowed to be larger than bqr_data_len to have
253 * the Vendor Specific Parameter (vsp) field.
254 */
255 if (skb->len < bqr_data_len) {
256 BT_ERR("AOSP evt data len %d too short (%u
expected)",
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org