Skip to contentSkip to conversation

drivers/gpu/drm/amd/amdgpu/clearstate_gfx13.h:113:7: sparse: sparse: Using plain integer as NULL pointer

PATCH kernel test robot 1 participant 1 message Nov 28

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

::::::
:::::: Manual check reason: "too many reports for this commit" ::::::

BCC: [email protected]
CC: [email protected]
TO: Frank Min <[email protected]>
CC: Alex Deucher <[email protected]>
CC: Likun Gao <[email protected]>
CC: Hawking Zhang <[email protected]>

tree:   https://gitlab.freedesktop.org/drm/amdgpu/kernel drm-amdgpu-next
head:   a69db917063c539fa09325ea22f3ff7b0626b478
commit: bffef1cc5b3d97e503c87f51759a31249d4a3d1e [242/243] drm/amdgpu: Add gfx v13 ip block

:::::: branch date: 3 days ago
:::::: commit date: 3 days ago
config: openrisc-randconfig-r2300-20261125 (https://download.01.org/0day-ci/archive/20261128/[email protected]/config)
compiler: or1k-linux-gcc (GCC) 9.5.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261128/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

sparse warnings: (new ones prefixed by >>)
drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c: note: in included file:

>> drivers/gpu/drm/amd/amdgpu/clearstate_gfx13.h:113:7: sparse: sparse: Using plain integer as NULL pointer
   drivers/gpu/drm/amd/amdgpu/clearstate_gfx13.h:118:7: sparse: sparse: Using plain integer as NULL pointer
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:506:28: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] @@     got restricted __le32 [usertype] @@
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:506:28: sparse:     expected unsigned int [usertype]
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:506:28: sparse:     got restricted __le32 [usertype]
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:540:13: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:540:13: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:540:13: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:540:13: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:540:13: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:540:13: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:573:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:573:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:573:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:573:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:573:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:573:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:574:41: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:574:41: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:574:41: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:574:41: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:574:41: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:574:41: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:575:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:575:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:575:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:575:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:575:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:575:36: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:577:25: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:577:25: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:577:25: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:577:25: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:577:25: sparse: sparse: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:577:25: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:621:33: sparse: sparse: cast to restricted __le16
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:621:33: sparse: sparse: cast to restricted __le16
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:621:33: sparse: sparse: cast to restricted __le16
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:621:33: sparse: sparse: cast to restricted __le16

drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:622:33: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:622:33: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:622:33: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:622:33: sparse: sparse: cast to restricted __le16
drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:708:57: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:708:57: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:708:57: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1172:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1172:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1172:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1172:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1172:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1172:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1173:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1173:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1173:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1173:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1173:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1173:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1178:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1178:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1178:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1178:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1178:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1178:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1179:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1179:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1179:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1179:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1179:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1179:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1189:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1189:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1189:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1189:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1189:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1189:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1190:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1190:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1190:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1190:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1190:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1190:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1195:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1195:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1195:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1195:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1195:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1195:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1196:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1196:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1196:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1196:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1196:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1196:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1206:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1206:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1206:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1206:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1206:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1206:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1207:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1207:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1207:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1207:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1207:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1207:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1212:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1212:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1212:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1212:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1212:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1212:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1213:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1213:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1213:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1213:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1213:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1213:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1227:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1227:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1227:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1227:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1227:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1227:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1228:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1228:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1228:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1228:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1228:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1228:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1232:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1232:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1232:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1232:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1233:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1233:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1233:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1233:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:1239:41: sparse: sparse: cast to restricted __le32
--
drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2036:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2036:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2036:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2036:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2036:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2036:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2037:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2037:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2037:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2037:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2037:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2037:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2050:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2050:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2050:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2050:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2050:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2050:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2051:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2051:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2051:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2051:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2051:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2051:19: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2080:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2080:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2080:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2080:25: sparse: sparse: cast to restricted __le16 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2423:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2423:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2423:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2423:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2423:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2423:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2424:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2424:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2424:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2424:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2424:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2424:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2427:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2427:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2427:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2427:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2427:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2427:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2428:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2428:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2428:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2428:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2428:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2428:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2564:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2564:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2564:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2564:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2564:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2564:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2565:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2565:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2565:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2565:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2565:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2565:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2568:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2568:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2568:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2568:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2568:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2568:17: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2569:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2569:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2569:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2569:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2569:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2569:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2795:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2795:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2795:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2795:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2795:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2795:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2796:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2796:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2796:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2796:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2796:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2796:25: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2799:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2799:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2799:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2799:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2799:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2799:33: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2800:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2800:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2800:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2800:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2800:24: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:2800:24: sparse: sparse: cast to restricted __le32

>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3042:73: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const volatile [noderef] __iomem *src @@     got struct v13_gfx_mqd *mqd @@
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3042:73: sparse:     expected void const volatile [noderef] __iomem *src
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3042:73: sparse:     got struct v13_gfx_mqd *mqd
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3046:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void volatile [noderef] __iomem *dst @@     got struct v13_gfx_mqd *mqd @@
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3046:37: sparse:     expected void volatile [noderef] __iomem *dst
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3046:37: sparse:     got struct v13_gfx_mqd *mqd
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3380:74: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void const volatile [noderef] __iomem *src @@     got struct v13_compute_mqd *mqd @@
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3380:74: sparse:     expected void const volatile [noderef] __iomem *src
   drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3380:74: sparse:     got struct v13_compute_mqd *mqd
>> drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3384:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void volatile [noderef] __iomem *dst @@     got struct v13_compute_mqd *mqd @@

drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3384:37: sparse: expected void volatile [noderef] __iomem *dst
drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:3384:37: sparse: got struct v13_compute_mqd *mqd
drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:4628:21: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:4628:21: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:4628:21: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:4628:21: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:4628:21: sparse: sparse: cast to restricted __le32 drivers/gpu/drm/amd/amdgpu/gfx_v13_0.c:4628:21: sparse: sparse: cast to restricted __le32

vim +113 drivers/gpu/drm/amd/amdgpu/clearstate_gfx13.h

bffef1cc5b3d97e Frank Min 2026-04-13  105  
bffef1cc5b3d97e Frank Min 2026-04-13  106  static const struct cs_extent_def gfx13_SECT_CONTEXT_defs[] = {
bffef1cc5b3d97e Frank Min 2026-04-13  107      {gfx13_SECT_CONTEXT_def_1, 0x0000a03e, 34 },
bffef1cc5b3d97e Frank Min 2026-04-13  108      {gfx13_SECT_CONTEXT_def_2, 0x0000a0cc, 2 },
bffef1cc5b3d97e Frank Min 2026-04-13  109      {gfx13_SECT_CONTEXT_def_3, 0x0000a0d8, 1 },
bffef1cc5b3d97e Frank Min 2026-04-13  110      {gfx13_SECT_CONTEXT_def_4, 0x0000a0db, 6 },
bffef1cc5b3d97e Frank Min 2026-04-13  111      {gfx13_SECT_CONTEXT_def_5, 0x0000a2e5, 11 },
bffef1cc5b3d97e Frank Min 2026-04-13  112      {gfx13_SECT_CONTEXT_def_6, 0x0000a3c0, 8 },

bffef1cc5b3d97e Frank Min 2026-04-13 @113 { 0, 0, 0 }
bffef1cc5b3d97e Frank Min 2026-04-13 114 };
bffef1cc5b3d97e Frank Min 2026-04-13 115

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