All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: [linux-next:master 488/13664] drivers/gpu/drm/i915/display/intel_color.c:1400 intel_color_prepare_commit() warn: ignoring unreachable code.
Date: Tue, 21 Feb 2023 17:28:14 +0800	[thread overview]
Message-ID: <202302211707.9malP4N2-lkp@intel.com> (raw)

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
CC: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
CC: Uma Shankar <uma.shankar@intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   465461cf48465b8a0a54025db5ae2b3df7a04577
commit: 2487ae0bcb53a7d4180c551c02b1f318ea590c84 [488/13664] drm/i915: Disable DSB usage specifically for LUTs
:::::: branch date: 3 hours ago
:::::: commit date: 2 months ago
config: x86_64-randconfig-m001-20230213 (https://download.01.org/0day-ci/archive/20230221/202302211707.9malP4N2-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Link: https://lore.kernel.org/r/202302211707.9malP4N2-lkp@intel.com/

New smatch warnings:
drivers/gpu/drm/i915/display/intel_color.c:1400 intel_color_prepare_commit() warn: ignoring unreachable code.

Old smatch warnings:
drivers/gpu/drm/i915/display/intel_color.c:2579 i9xx_read_lut_10() error: uninitialized symbol 'ldw'.
drivers/gpu/drm/i915/display/intel_color.c:2579 i9xx_read_lut_10() error: uninitialized symbol 'udw'.

vim +1400 drivers/gpu/drm/i915/display/intel_color.c

4d8ed54c044703 drivers/gpu/drm/i915/intel_color.c         Ville Syrjälä 2019-02-05  1392  
efb2b57edf20c3 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1393  void intel_color_prepare_commit(struct intel_crtc_state *crtc_state)
efb2b57edf20c3 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1394  {
b358c3b98813b1 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1395  	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
b358c3b98813b1 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1396  
2487ae0bcb53a7 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1397  	/* FIXME DSB has issues loading LUTs, disable it for now */
2487ae0bcb53a7 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1398  	return;
2487ae0bcb53a7 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1399  
b358c3b98813b1 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23 @1400  	crtc_state->dsb = intel_dsb_prepare(crtc);
efb2b57edf20c3 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1401  }
efb2b57edf20c3 drivers/gpu/drm/i915/display/intel_color.c Ville Syrjälä 2022-11-23  1402  

:::::: The code at line 1400 was first introduced by commit
:::::: b358c3b98813b1557588a11c894b22915251a2ce drm/i915: Make DSB lower level

:::::: TO: Ville Syrjälä <ville.syrjala@linux.intel.com>
:::::: CC: Ville Syrjälä <ville.syrjala@linux.intel.com>

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

                 reply	other threads:[~2023-02-21  9:28 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=202302211707.9malP4N2-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=error27@gmail.com \
    --cc=oe-kbuild@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.