[linuxtv-media:master 395/434] drivers/media/platform/qcom/venus/core.c:218:33: sparse: sparse: Using plain integer as NULL pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://linuxtv.org/media_tree.git master
head:   7acc54ed6061c9219774d1897efa34c6304ffda8
commit: 94e6ed2b2db30bd3e4a821518ebbe8dd6a1920c9 [395/434] media: venus: core: Add an io base for TZ wrapper regs
config: powerpc64-randconfig-s031-20210406 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.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.3-279-g6d5d9b42-dirty
        git remote add linuxtv-media git://linuxtv.org/media_tree.git
        git fetch --no-tags linuxtv-media master
        git checkout 94e6ed2b2db30bd3e4a821518ebbe8dd6a1920c9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=powerpc64 

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


sparse warnings: (new ones prefixed by >>)
>> drivers/media/platform/qcom/venus/core.c:218:33: sparse: sparse: Using plain integer as NULL pointer

vim +218 drivers/media/platform/qcom/venus/core.c

   210	
   211	static void venus_assign_register_offsets(struct venus_core *core)
   212	{
   213		core->vbif_base = core->base + VBIF_BASE;
   214		core->cpu_base = core->base + CPU_BASE;
   215		core->cpu_cs_base = core->base + CPU_CS_BASE;
   216		core->cpu_ic_base = core->base + CPU_IC_BASE;
   217		core->wrapper_base = core->base + WRAPPER_BASE;
 > 218		core->wrapper_tz_base = 0;
   219	}
   220	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux