linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tobetter:odroid-5.19.y 78/99] drivers/gpu/drm/tiny/ili9488_pio.c:335:36: sparse: sparse: Using plain integer as NULL pointer
@ 2022-07-27 12:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-27 12:23 UTC (permalink / raw)
  To: Dongjin Kim; +Cc: kbuild-all, linux-kernel

Hi Dongjin,

First bad commit (maybe != root cause):

tree:   https://github.com/tobetter/linux odroid-5.19.y
head:   c7c464300e75e7dc0e654a0550f885685d92a092
commit: c2ea0f2f2bc571f7a2a63b1acc3d84b9b23621bb [78/99] ODROID-COMMON: Revert "drm/dbi: Print errors for mipi_dbi_command()"
config: sparc64-randconfig-s051-20220727 (https://download.01.org/0day-ci/archive/20220727/202207272019.ttAMYBVJ-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 12.1.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-39-gce1a6720-dirty
        # https://github.com/tobetter/linux/commit/c2ea0f2f2bc571f7a2a63b1acc3d84b9b23621bb
        git remote add tobetter https://github.com/tobetter/linux
        git fetch --no-tags tobetter odroid-5.19.y
        git checkout c2ea0f2f2bc571f7a2a63b1acc3d84b9b23621bb
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc64 SHELL=/bin/bash drivers/gpu/drm/tiny/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/tiny/ili9488_pio.c:335:36: sparse: sparse: Using plain integer as NULL pointer
   drivers/gpu/drm/tiny/ili9488_pio.c:336:47: sparse: sparse: Using plain integer as NULL pointer

vim +335 drivers/gpu/drm/tiny/ili9488_pio.c

74edc5034eba24 Dongjin Kim 2021-02-09  333  
74edc5034eba24 Dongjin Kim 2021-02-09  334  static const struct of_device_id ili9488_dt_ids[] = {
74edc5034eba24 Dongjin Kim 2021-02-09 @335  	{ .compatible = "ili9488", 0 },
74edc5034eba24 Dongjin Kim 2021-02-09  336  	{ .compatible = "hardkernel,ili9488", 0 },
74edc5034eba24 Dongjin Kim 2021-02-09  337  	{ },
74edc5034eba24 Dongjin Kim 2021-02-09  338  };
74edc5034eba24 Dongjin Kim 2021-02-09  339  

:::::: The code at line 335 was first introduced by commit
:::::: 74edc5034eba2493a877af69795d09e191ae3b4e ODROID-COMMON: gpu/drm: Add new Tiny DRM driver with Ili9488

:::::: TO: Dongjin Kim <tobetter@gmail.com>
:::::: CC: Dongjin Kim <tobetter@gmail.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-07-27 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 12:23 [tobetter:odroid-5.19.y 78/99] drivers/gpu/drm/tiny/ili9488_pio.c:335:36: sparse: sparse: Using plain integer as NULL pointer kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).