lkml.org 
[lkml]   [2022]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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@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

\
 
 \ /
  Last update: 2022-07-27 14:24    [W:0.029 / U:3.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site