All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [linux-next:master 163/8910] drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'typeof' as identifier
Date: Fri, 25 Sep 2026 00:29:26 +0800	[thread overview]
Message-ID: <202609250044.R601n2jg-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence static check warning: drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'typeof' as identifier"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
CC: Rodrigo Vivi <rodrigo.vivi@intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   a8c591ed6b672915e0be57843f943a2a723aff40
commit: 5c45e2dbe6967bf75a500931d643d5989291109b [163/8910] drm/xe: Use IBC v3 on PTL
:::::: branch date: 2 days ago
:::::: commit date: 7 weeks ago
config: alpha-randconfig-r1304-20260924 (https://download.01.org/0day-ci/archive/20260925/202609250044.R601n2jg-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260925/202609250044.R601n2jg-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/202609250044.R601n2jg-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/gpu/drm/xe/xe_guc_pc.c:1297:25: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1297:25: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1298:25: sparse: sparse: Trying to use reserved word 'return' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1298:32: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1298:32: sparse: sparse: got -
   drivers/gpu/drm/xe/xe_guc_pc.c:1299:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1299:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: got (
   drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1303:9: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1303:9: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1306:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1307:17: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1307:17: sparse: sparse: got return
   drivers/gpu/drm/xe/xe_guc_pc.c:1310:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1311:17: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1311:17: sparse: sparse: got return
   drivers/gpu/drm/xe/xe_guc_pc.c:1314:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1315:17: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1315:17: sparse: sparse: got return
   drivers/gpu/drm/xe/xe_guc_pc.c:1322:13: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1322:13: sparse: sparse: got (
   drivers/gpu/drm/xe/xe_guc_pc.c:1322:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: got (
   drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1325:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1325:16: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1325:16: sparse: sparse: got ret
   drivers/gpu/drm/xe/xe_guc_pc.c:1326:1: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1326:1: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1336:15: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1336:15: sparse: sparse: got ->
   drivers/gpu/drm/xe/xe_guc_pc.c:1336:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1339:20: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1339:20: sparse: sparse: got &
   drivers/gpu/drm/xe/xe_guc_pc.c:1340:11: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1340:11: sparse: sparse: got ->
   drivers/gpu/drm/xe/xe_guc_pc.c:1341:22: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1341:22: sparse: sparse: got &
   drivers/gpu/drm/xe/xe_guc_pc.c:1342:1: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1342:1: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1353:29: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1353:29: sparse: sparse: got (
   drivers/gpu/drm/xe/xe_guc_pc.c:1353:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:27: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:27: sparse: sparse: got ,
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Trying to use reserved word 'do' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got !
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got <
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1361:1: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1361:1: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1376:15: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1376:15: sparse: sparse: got ->
   drivers/gpu/drm/xe/xe_guc_pc.c:1376:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1380:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1381:17: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1381:17: sparse: sparse: got return
   drivers/gpu/drm/xe/xe_guc_pc.c:1388:19: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1388:19: sparse: sparse: got (
   drivers/gpu/drm/xe/xe_guc_pc.c:1388:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1391:11: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1391:11: sparse: sparse: got ->
   drivers/gpu/drm/xe/xe_guc_pc.c:1393:11: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1393:11: sparse: sparse: got ->
   drivers/gpu/drm/xe/xe_guc_pc.c:1395:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1395:16: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1395:16: sparse: sparse: got __devm_add_action_or_reset
   drivers/gpu/drm/xe/xe_guc_pc.c:1396:1: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1396:1: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got (
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got !
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got *
>> drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'typeof' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1403:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1403:14: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1403:14: sparse: sparse: got SLPC_GLOBAL_STATE_INITIALIZING
   drivers/gpu/drm/xe/xe_guc_pc.c:1405:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1405:14: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1405:14: sparse: sparse: got SLPC_GLOBAL_STATE_RESETTING
   drivers/gpu/drm/xe/xe_guc_pc.c:1407:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1407:14: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1407:14: sparse: sparse: got SLPC_GLOBAL_STATE_RUNNING
   drivers/gpu/drm/xe/xe_guc_pc.c:1409:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1409:14: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1409:14: sparse: sparse: got SLPC_GLOBAL_STATE_SHUTTING_DOWN
   drivers/gpu/drm/xe/xe_guc_pc.c:1411:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1411:14: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1411:14: sparse: sparse: got SLPC_GLOBAL_STATE_ERROR
   drivers/gpu/drm/xe/xe_guc_pc.c:1413:9: sparse: sparse: Trying to use reserved word 'default' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1413:16: sparse: sparse: Expected ; at end of declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1413:16: sparse: sparse: got :
   drivers/gpu/drm/xe/xe_guc_pc.c:1415:9: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1415:9: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:21: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:21: sparse: sparse: got ,
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got (
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got !
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got *
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Trying to use reserved word 'typeof' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1427:21: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1427:21: sparse: sparse: got ,
   drivers/gpu/drm/xe/xe_guc_pc.c:1429:39: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1429:39: sparse: sparse: got (
   drivers/gpu/drm/xe/xe_guc_pc.c:1429:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1432:21: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1432:21: sparse: sparse: got ,
   drivers/gpu/drm/xe/xe_guc_pc.c:1433:21: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1433:21: sparse: sparse: got ,
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got (
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got !
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Trying to use reserved word 'if' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in nested declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got {
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in function declarator
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got *
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Trying to use reserved word 'typeof' as identifier
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got }
   drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration

vim +/typeof +1400 drivers/gpu/drm/xe/xe_guc_pc.c

aaab5404b16f19 Rodrigo Vivi 2025-01-15  1397  
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1398  static const char *pc_get_state_string(struct xe_guc_pc *pc)
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1399  {
aaab5404b16f19 Rodrigo Vivi 2025-01-15 @1400  	switch (slpc_shared_data_read(pc, header.global_state)) {
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1401  	case SLPC_GLOBAL_STATE_NOT_RUNNING:
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1402  		return "not running";
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1403  	case SLPC_GLOBAL_STATE_INITIALIZING:
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1404  		return "initializing";
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1405  	case SLPC_GLOBAL_STATE_RESETTING:
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1406  		return "resetting";
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1407  	case SLPC_GLOBAL_STATE_RUNNING:
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1408  		return "running";
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1409  	case SLPC_GLOBAL_STATE_SHUTTING_DOWN:
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1410  		return "shutting down";
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1411  	case SLPC_GLOBAL_STATE_ERROR:
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1412  		return "error";
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1413  	default:
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1414  		return "unknown";
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1415  	}
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1416  }
aaab5404b16f19 Rodrigo Vivi 2025-01-15  1417  

:::::: The code at line 1400 was first introduced by commit
:::::: aaab5404b16f19b06c7d88787d7ba18d91eeb854 drm/xe: Introduce GuC PC debugfs

:::::: TO: Rodrigo Vivi <rodrigo.vivi@intel.com>
:::::: CC: Rodrigo Vivi <rodrigo.vivi@intel.com>

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

                 reply	other threads:[~2026-09-24 16:30 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=202609250044.R601n2jg-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /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 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.