From: kernel test robot <lkp@intel.com>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [vsyrjala:vbt_panel_type_pnp_id_2 31/32] drivers/gpu/drm/i915/display/intel_bios.c:619:9: sparse: sparse: cast to restricted __be16
Date: Wed, 6 Apr 2022 01:00:05 +0800 [thread overview]
Message-ID: <202204060009.xXKxOfo4-lkp@intel.com> (raw)
tree: https://github.com/vsyrjala/linux.git vbt_panel_type_pnp_id_2
head: 805ff25c9e3d368cf07b5ce3c36a37a7240185ff
commit: d7d51fb935143002f73468eee9fd1ed3bafa7b08 [31/32] drm/i915/bios: Dump PNPID and panel name
config: i386-randconfig-s001 (https://download.01.org/0day-ci/archive/20220406/202204060009.xXKxOfo4-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/vsyrjala/linux/commit/d7d51fb935143002f73468eee9fd1ed3bafa7b08
git remote add vsyrjala https://github.com/vsyrjala/linux.git
git fetch --no-tags vsyrjala vbt_panel_type_pnp_id_2
git checkout d7d51fb935143002f73468eee9fd1ed3bafa7b08
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/i915/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/display/intel_bios.c:619:9: sparse: sparse: cast to restricted __be16
vim +619 drivers/gpu/drm/i915/display/intel_bios.c
612
613 static void dump_pnp_id(struct drm_i915_private *i915,
614 const struct lvds_pnp_id *pnp_id,
615 const char *name)
616 {
617 char vend[4];
618
> 619 drm_dbg_kms(&i915->drm, "%s PNPID mfg: %s (0x%x), prod: %u, serial: %u, week: %d, year: %d\n",
620 name, drm_edid_decode_mfg_id(be16_to_cpu(pnp_id->mfg_name), vend),
621 pnp_id->mfg_name, pnp_id->product_code, pnp_id->serial,
622 pnp_id->mfg_week, pnp_id->mfg_year + 1990);
623 }
624
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-04-05 20: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=202204060009.xXKxOfo4-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ville.syrjala@linux.intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®