[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202207272019.ttAMYBVJ-lkp@intel.com>
Date: Wed, 27 Jul 2022 20:23:27 +0800
From: kernel test robot <lkp@...el.com>
To: Dongjin Kim <tobetter@...il.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [tobetter:odroid-5.19.y 78/99]
drivers/gpu/drm/tiny/ili9488_pio.c:335:36: sparse: sparse: Using plain
integer as NULL pointer
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@...el.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@...il.com>
:::::: CC: Dongjin Kim <tobetter@...il.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists