All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dongjin Kim <tobetter@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.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
Date: Wed, 27 Jul 2022 20:23:27 +0800	[thread overview]
Message-ID: <202207272019.ttAMYBVJ-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-07-27 12:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202207272019.ttAMYBVJ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tobetter@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.