All of lore.kernel.org
 help / color / mirror / Atom feed
* [linuxtv-media:master 395/434] drivers/media/platform/qcom/venus/core.c:218:33: sparse: sparse: Using plain integer as NULL pointer
@ 2021-04-06 21:50 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-06 21:50 UTC (permalink / raw)
  To: Bryan O'Donoghue
  Cc: kbuild-all, linux-media, Mauro Carvalho Chehab, Stanimir Varbanov

[-- Attachment #1: Type: text/plain, Size: 1757 bytes --]

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@intel.com>


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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27336 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linuxtv-media:master 395/434] drivers/media/platform/qcom/venus/core.c:218:33: sparse: sparse: Using plain integer as NULL pointer
@ 2021-04-06 21:50 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-06 21:50 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1799 bytes --]

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@intel.com>


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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27336 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-06 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 21:50 [linuxtv-media:master 395/434] drivers/media/platform/qcom/venus/core.c:218:33: sparse: sparse: Using plain integer as NULL pointer kernel test robot
2021-04-06 21:50 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.