All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [intel-lts:5.4/yocto 16103/20884] drivers/gpu/drm/drm_edid.c:5597 drm_update_tile_info() error: uninitialized symbol 'length'.
Date: Fri, 04 Mar 2022 01:40:29 +0800	[thread overview]
Message-ID: <202203040132.Io7NUZVa-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2462 bytes --]

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
TO: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
CC: "Mazlan, Hazwan Arif" <hazwan.arif.mazlan@intel.com>

tree:   https://github.com/intel/linux-intel-lts.git 5.4/yocto
head:   b711391ad7048370874e7f32e00b452cd7da6f72
commit: 8e2b1510d279aecb1f89907553283c79c1b2b226 [16103/20884] drm/edid: Fix DispID tile parsing for override EDID
:::::: branch date: 3 weeks ago
:::::: commit date: 10 months ago
config: x86_64-randconfig-m001 (https://download.01.org/0day-ci/archive/20220304/202203040132.Io7NUZVa-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

New smatch warnings:
drivers/gpu/drm/drm_edid.c:5597 drm_update_tile_info() error: uninitialized symbol 'length'.
drivers/gpu/drm/drm_edid.c:5597 drm_update_tile_info() error: uninitialized symbol 'idx'.

Old smatch warnings:
drivers/gpu/drm/drm_edid.c:1485 drm_edid_are_equal() error: we previously assumed 'edid2' could be null (see line 1478)

vim +/length +5597 drivers/gpu/drm/drm_edid.c

40d9b043a89e230 Dave Airlie   2014-10-20  5583  
8e2b1510d279aec Ville Syrjälä 2020-03-13  5584  void drm_update_tile_info(struct drm_connector *connector,
8e2b1510d279aec Ville Syrjälä 2020-03-13  5585  			  const struct edid *edid)
40d9b043a89e230 Dave Airlie   2014-10-20  5586  {
8e2b1510d279aec Ville Syrjälä 2020-03-13  5587  	const void *displayid = NULL;
8e2b1510d279aec Ville Syrjälä 2020-03-13  5588  	int length, idx;
40d9b043a89e230 Dave Airlie   2014-10-20  5589  	int ret;
40d9b043a89e230 Dave Airlie   2014-10-20  5590  	connector->has_tile = false;
40d9b043a89e230 Dave Airlie   2014-10-20  5591  	displayid = drm_find_displayid_extension(edid);
40d9b043a89e230 Dave Airlie   2014-10-20  5592  	if (!displayid) {
40d9b043a89e230 Dave Airlie   2014-10-20  5593  		/* drop reference to any tile group we had */
40d9b043a89e230 Dave Airlie   2014-10-20  5594  		goto out_drop_ref;
40d9b043a89e230 Dave Airlie   2014-10-20  5595  	}
40d9b043a89e230 Dave Airlie   2014-10-20  5596  
8e2b1510d279aec Ville Syrjälä 2020-03-13 @5597  	ret = drm_displayid_parse_tiled(connector, displayid, length, idx);

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

                 reply	other threads:[~2022-03-03 17: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=202203040132.Io7NUZVa-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /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.