lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204060009.xXKxOfo4-lkp@intel.com>
Date:   Wed, 6 Apr 2022 01:00:05 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ville Syrjälä <ville.syrjala@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.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

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ