All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 5687/5774] drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c:34:1: sparse: sparse: bad integer constant expression
@ 2026-01-14  7:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-01-14  7:02 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check warning: drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c:34:1: sparse: sparse: bad integer constant expression"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Alex Deucher <alexander.deucher@amd.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b775e489bec70895b7ef6b66927886bbac79598f
commit: 849db7dc012ffdeb2fb9e09609a2ab1a8f498aa0 [5687/5774] Merge branch 'drm-next' of https://gitlab.freedesktop.org/agd5f/linux.git
:::::: branch date: 2 hours ago
:::::: commit date: 29 hours ago
config: s390-randconfig-r111-20260113 (https://download.01.org/0day-ci/archive/20260114/202601141437.osVfCYHT-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260114/202601141437.osVfCYHT-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202601141437.osVfCYHT-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c: note: in included file (through drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, drivers/gpu/drm/amd/amdgpu/amdgpu.h):
   drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:500:49: sparse: sparse: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
>> drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c:34:1: sparse: sparse: bad integer constant expression
   drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c:34:1: sparse: sparse: static assertion failed: "MODULE_INFO(firmware, ...) contains embedded NUL byte"
--
   drivers/gpu/drm/amd/amdgpu/imu_v12_1.c: note: in included file (through drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, drivers/gpu/drm/amd/amdgpu/amdgpu.h):
   drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:500:49: sparse: sparse: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
>> drivers/gpu/drm/amd/amdgpu/imu_v12_1.c:35:1: sparse: sparse: bad integer constant expression
   drivers/gpu/drm/amd/amdgpu/imu_v12_1.c:35:1: sparse: sparse: static assertion failed: "MODULE_INFO(firmware, ...) contains embedded NUL byte"
--
   drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c: note: in included file (through drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, drivers/gpu/drm/amd/amdgpu/amdgpu.h):
   drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:500:49: sparse: sparse: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
>> drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c:47:1: sparse: sparse: bad integer constant expression
   drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c:47:1: sparse: sparse: static assertion failed: "MODULE_INFO(firmware, ...) contains embedded NUL byte"
--
   drivers/gpu/drm/amd/amdgpu/mes_v12_1.c: note: in included file (through drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, drivers/gpu/drm/amd/amdgpu/amdgpu.h):
   drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:500:49: sparse: sparse: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
>> drivers/gpu/drm/amd/amdgpu/mes_v12_1.c:35:1: sparse: sparse: bad integer constant expression
   drivers/gpu/drm/amd/amdgpu/mes_v12_1.c:35:1: sparse: sparse: static assertion failed: "MODULE_INFO(firmware, ...) contains embedded NUL byte"
   drivers/gpu/drm/amd/amdgpu/mes_v12_1.c:36:1: sparse: sparse: bad integer constant expression
   drivers/gpu/drm/amd/amdgpu/mes_v12_1.c:36:1: sparse: sparse: static assertion failed: "MODULE_INFO(firmware, ...) contains embedded NUL byte"
   drivers/gpu/drm/amd/amdgpu/mes_v12_1.c:37:1: sparse: sparse: bad integer constant expression
   drivers/gpu/drm/amd/amdgpu/mes_v12_1.c:37:1: sparse: sparse: static assertion failed: "MODULE_INFO(firmware, ...) contains embedded NUL byte"
--
   drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c: note: in included file (through drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, drivers/gpu/drm/amd/amdgpu/amdgpu.h):
   drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:500:49: sparse: sparse: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB"
>> drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c:61:1: sparse: sparse: bad integer constant expression
   drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c:61:1: sparse: sparse: static assertion failed: "MODULE_INFO(firmware, ...) contains embedded NUL byte"
   drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c:62:1: sparse: sparse: bad integer constant expression
   drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c:62:1: sparse: sparse: static assertion failed: "MODULE_INFO(firmware, ...) contains embedded NUL byte"

vim +34 drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c

c92bb14151a5971 Le Ma 2025-11-02  33  
c92bb14151a5971 Le Ma 2025-11-02 @34  MODULE_FIRMWARE("amdgpu/psp_15_0_8_toc.bin");
c92bb14151a5971 Le Ma 2025-11-02  35  

:::::: The code at line 34 was first introduced by commit
:::::: c92bb14151a59715c674d421d647e37dc6cedd6e drm/amdgpu: Add psp v15.0.8 ip block v3

:::::: TO: Le Ma <le.ma@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

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

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

only message in thread, other threads:[~2026-01-14  7:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-14  7:02 [linux-next:master 5687/5774] drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c:34:1: sparse: sparse: bad integer constant expression kernel test robot

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.