[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204090144.S9m5LfZs-lkp@intel.com>
Date: Sat, 9 Apr 2022 01:15:01 +0800
From: kernel test robot <lkp@...el.com>
To: Dave Stevenson <dave.stevenson@...pberrypi.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Dom Cobley <popcornmix@...il.com>
Subject: [l1k:smsc95xx_5.17 281/887]
drivers/staging/vc04_services/vc-sm-cma/vc_sm_cma_vchi.c:472:55: sparse:
sparse: Using plain integer as NULL pointer
tree: https://github.com/l1k/linux smsc95xx_5.17
head: 05d68ced287b30f62f18f95b5476135ef669804a
commit: 56d0cd616fe11877854ad1b0768b3be67bb30349 [281/887] staging: vc04_services: Add new vc-sm-cma driver
config: csky-randconfig-s031-20220408 (https://download.01.org/0day-ci/archive/20220409/202204090144.S9m5LfZs-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 11.2.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/l1k/linux/commit/56d0cd616fe11877854ad1b0768b3be67bb30349
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k smsc95xx_5.17
git checkout 56d0cd616fe11877854ad1b0768b3be67bb30349
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=csky SHELL=/bin/bash drivers/staging/vc04_services/vc-sm-cma/ drivers/staging/vc04_services/vchiq-mmal/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/staging/vc04_services/vc-sm-cma/vc_sm_cma_vchi.c:472:55: sparse: sparse: Using plain integer as NULL pointer
drivers/staging/vc04_services/vc-sm-cma/vc_sm_cma_vchi.c:501:59: sparse: sparse: Using plain integer as NULL pointer
vim +472 drivers/staging/vc04_services/vc-sm-cma/vc_sm_cma_vchi.c
467
468 int vc_sm_cma_vchi_free(struct sm_instance *handle, struct vc_sm_free_t *msg,
469 u32 *cur_trans_id)
470 {
471 return vc_sm_cma_vchi_send_msg(handle, VC_SM_MSG_TYPE_FREE,
> 472 msg, sizeof(*msg), 0, 0, cur_trans_id, 0);
473 }
474
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists