All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-lts:5.4/yocto 16103/20394] drivers/gpu/drm/drm_edid.c:5597 drm_update_tile_info() error: uninitialized symbol 'length'.
@ 2022-01-22  2:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-22  2:14 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
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:   36f93ff941f127f4137ab369aecbdd995fb58c66
commit: 8e2b1510d279aecb1f89907553283c79c1b2b226 [16103/20394] drm/edid: Fix DispID tile parsing for override EDID
:::::: branch date: 9 days ago
:::::: commit date: 9 months ago
config: x86_64-randconfig-m001 (https://download.01.org/0day-ci/archive/20220122/202201221048.9ikBv1GJ-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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-22  2:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22  2:14 [intel-lts:5.4/yocto 16103/20394] drivers/gpu/drm/drm_edid.c:5597 drm_update_tile_info() error: uninitialized symbol 'length' kernel test robot

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.