Hi Brian, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bluetooth/master] [also build test WARNING on bluetooth-next/master v5.18-rc6 next-20220509] [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/intel-lab-lkp/linux/commits/Brian-Gix/Add-Mesh-functionality-to-net-bluetooth/20220510-060608 base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git master config: arc-randconfig-s031-20220509 (https://download.01.org/0day-ci/archive/20220510/202205101530.WHKiKnKN-lkp@xxxxxxxxx/config) compiler: arc-elf-gcc (GCC) 11.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/intel-lab-lkp/linux/commit/885a42ec302cf25607003d07fec0f13cbeb61d35 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Brian-Gix/Add-Mesh-functionality-to-net-bluetooth/20220510-060608 git checkout 885a42ec302cf25607003d07fec0f13cbeb61d35 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arc SHELL=/bin/bash net/bluetooth/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) >> net/bluetooth/mgmt.c:2145:71: sparse: sparse: Using plain integer as NULL pointer net/bluetooth/mgmt.c:4107:29: sparse: sparse: restricted __le16 degrades to integer net/bluetooth/mgmt.c:4933:9: sparse: sparse: cast to restricted __le32 net/bluetooth/mgmt.c:10213:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le64 [usertype] instant @@ got unsigned int [usertype] instant @@ net/bluetooth/mgmt.c:10213:21: sparse: expected restricted __le64 [usertype] instant net/bluetooth/mgmt.c:10213:21: sparse: got unsigned int [usertype] instant vim +2145 net/bluetooth/mgmt.c 2131 2132 static void set_mesh_complete(struct hci_dev *hdev, void *data, int err) 2133 { 2134 struct mgmt_pending_cmd *cmd = data; 2135 u8 status = mgmt_status(err); 2136 struct sock *sk = cmd->sk; 2137 2138 if (status) { 2139 mgmt_pending_foreach(MGMT_OP_SET_MESH_RECEIVER, hdev, 2140 cmd_status_rsp, &status); 2141 return; 2142 } 2143 2144 mgmt_pending_remove(cmd); > 2145 mgmt_cmd_complete(sk, hdev->id, MGMT_OP_SET_MESH_RECEIVER, 0, 0, 0); 2146 } 2147 -- 0-DAY CI Kernel Test Service https://01.org/lkp