CC: [email protected]
BCC: [email protected]
TO: "Ville Syrjälä" <[email protected]>
CC: "Mazlan, Hazwan Arif" <[email protected]>

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/[email protected]/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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

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/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to