All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Matthew Brost <matthew.brost@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, Dave Airlie <airlied@redhat.com>
Subject: [linux-next:master 2100/6488] drivers/gpu/drm/bridge/tda998x_drv.c:1296:24: sparse: sparse: Using plain integer as NULL pointer
Date: Tue, 17 Mar 2026 02:40:01 +0800	[thread overview]
Message-ID: <202603170230.STdaD98w-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b84a0ebe421ca56995ff78b66307667b62b3a900
commit: 21f6bcdf2be72e750dbe430b7227a66763a58466 [2100/6488] Merge tag 'drm-misc-next-2026-02-26' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
config: x86_64-randconfig-121-20260316 (https://download.01.org/0day-ci/archive/20260317/202603170230.STdaD98w-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260317/202603170230.STdaD98w-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603170230.STdaD98w-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/bridge/tda998x_drv.c:1296:24: sparse: sparse: Using plain integer as NULL pointer
   drivers/gpu/drm/bridge/tda998x_drv.c:1784:50: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected restricted __be32 const [usertype] *p @@     got unsigned int const [usertype] * @@
   drivers/gpu/drm/bridge/tda998x_drv.c:1784:50: sparse:     expected restricted __be32 const [usertype] *p
   drivers/gpu/drm/bridge/tda998x_drv.c:1784:50: sparse:     got unsigned int const [usertype] *
   drivers/gpu/drm/bridge/tda998x_drv.c:1785:52: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected restricted __be32 const [usertype] *p @@     got unsigned int const [usertype] * @@
   drivers/gpu/drm/bridge/tda998x_drv.c:1785:52: sparse:     expected restricted __be32 const [usertype] *p
   drivers/gpu/drm/bridge/tda998x_drv.c:1785:52: sparse:     got unsigned int const [usertype] *

vim +1296 drivers/gpu/drm/bridge/tda998x_drv.c

25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1284  
c76a8be4feeceb drivers/gpu/drm/bridge/tda998x_drv.c Kory Maincent (TI.com  2026-01-23  1285) static const struct drm_edid *tda998x_edid_read(struct tda998x_priv *priv,
c76a8be4feeceb drivers/gpu/drm/bridge/tda998x_drv.c Kory Maincent (TI.com  2026-01-23  1286) 						struct drm_connector *connector)
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1287  {
78e90e003b96ef drivers/gpu/drm/i2c/tda998x_drv.c    Jani Nikula            2024-05-10  1288  	const struct drm_edid *drm_edid;
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1289  
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1290  	/*
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1291  	 * If we get killed while waiting for the HPD timeout, return
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1292  	 * no modes found: we are not in a restartable path, so we
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1293  	 * can't handle signals gracefully.
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1294  	 */
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1295  	if (tda998x_edid_delay_wait(priv))
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23 @1296  		return 0;
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1297  
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1298  	if (priv->rev == TDA19988)
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1299  		reg_clear(priv, REG_TX4, TX4_PD_RAM);
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1300  
78e90e003b96ef drivers/gpu/drm/i2c/tda998x_drv.c    Jani Nikula            2024-05-10  1301  	drm_edid = drm_edid_read_custom(connector, read_edid_block, priv);
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1302  
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1303  	if (priv->rev == TDA19988)
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1304  		reg_set(priv, REG_TX4, TX4_PD_RAM);
25576733ec6e05 drivers/gpu/drm/i2c/tda998x_drv.c    Russell King           2016-10-23  1305  
c76a8be4feeceb drivers/gpu/drm/bridge/tda998x_drv.c Kory Maincent (TI.com  2026-01-23  1306) 	return drm_edid;
c76a8be4feeceb drivers/gpu/drm/bridge/tda998x_drv.c Kory Maincent (TI.com  2026-01-23  1307) }
c76a8be4feeceb drivers/gpu/drm/bridge/tda998x_drv.c Kory Maincent (TI.com  2026-01-23  1308) 

:::::: The code at line 1296 was first introduced by commit
:::::: 25576733ec6e051e541b13ba77a8e1c63619336f drm/i2c: tda998x: group connector functions and funcs together

:::::: TO: Russell King <rmk+kernel@armlinux.org.uk>
:::::: CC: Russell King <rmk+kernel@armlinux.org.uk>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-03-16 18:40 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=202603170230.STdaD98w-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@redhat.com \
    --cc=matthew.brost@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.