mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [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
@ 2022-04-05 17:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-05 17:00 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: kbuild-all, linux-kernel

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

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

only message in thread, other threads:[~2022-04-05 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-05 17:00 [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 kernel test robot

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®