All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.4 31/243] drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c:56:41: sparse: sparse: Using plain integer as NULL pointer
@ 2021-04-20 19:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-20 19:19 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head:   52d269f32500581166246e0e494b2b62d979dba6
commit: f04d055758de31185e1b298147cae3de6349dba1 [31/243] CHROMIUM: media: mtk-vcodec: Use component framework to manage each hardware information
config: nios2-randconfig-s032-20210420 (attached as .config)
compiler: nios2-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-341-g8af24329-dirty
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.4
        git checkout f04d055758de31185e1b298147cae3de6349dba1
        # 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__' W=1 ARCH=nios2 

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/mtk-vcodec/mtk_vcodec_dec_hw.c:56:41: sparse: sparse: Using plain integer as NULL pointer
   drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c: note: in included file (through arch/nios2/include/asm/io.h, include/linux/io.h, include/linux/irq.h, ...):
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] value @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] value
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]
   include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
   include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [usertype] value @@     got restricted __le32 [usertype] @@
   include/asm-generic/io.h:225:22: sparse:     expected unsigned int [usertype] value
   include/asm-generic/io.h:225:22: sparse:     got restricted __le32 [usertype]

vim +56 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c

    50	
    51	static void mtk_vdec_hw_unbind(struct device *dev, struct device *master,
    52		void *data)
    53	{
    54		struct mtk_vcodec_dev *comp_priv = dev_get_drvdata(dev);
    55	
  > 56		comp_priv->reg_base[VDEC_SYS] = 0;
    57	}
    58	

---
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: 29512 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-20 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 19:19 [chrome-os:chromeos-5.4 31/243] drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c:56:41: sparse: sparse: Using plain integer as NULL pointer 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.