net/bluetooth/hci_conn.c:800:5-12: WARNING: kzalloc should be used for d, instead of kmalloc/memset

From: kernel test robot
Date: Sun Aug 07 2022 - 06:44:38 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1612c382ffbdf1f673caec76502b1c00e6d35363
commit: eca0ae4aea66914515e5e3098ea051b518ee5316 Bluetooth: Add initial implementation of BIS connections
date: 2 weeks ago
config: alpha-randconfig-c042-20220805 (https://download.01.org/0day-ci/archive/20220807/202208071815.IxeJjCaT-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 12.1.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

cocci warnings: (new ones prefixed by >>)
>> net/bluetooth/hci_conn.c:800:5-12: WARNING: kzalloc should be used for d, instead of kmalloc/memset
net/bluetooth/hci_conn.c:763:5-12: WARNING: kzalloc should be used for d, instead of kmalloc/memset

--
0-DAY CI Kernel Test Service
https://01.org/lkp