[jimc:dd-ratelimit-2 71/76] include/linux/dynamic_debug.h:181:9: sparse: sparse: Trying to use reserved word 'switch' as identifier

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild
Message-ID <[email protected]>
:::::: 
:::::: Manual check reason: "low confidence static check warning: include/linux/dynamic_debug.h:181:9: sparse: sparse: Trying to use reserved word 'switch' as identifier"
:::::: 

BCC: [email protected]
CC: [email protected]
TO: Jim Cromie <[email protected]>
TO: "Łukasz Bartosik" <[email protected]>

tree:   https://github.com/jimc/linux.git dd-ratelimit-2
head:   31212444bcca4d1547711ec572b5a398d74640ca
commit: 5431913f1c32e528c1560f4959a01aeef714a64f [71/76] lib/dynamic_debug: map virtual flags to physical 3-bit mode representation
:::::: branch date: 3 days ago
:::::: commit date: 3 days ago
config: powerpc64-randconfig-r132-20260820 (https://download.01.org/0day-ci/archive/20260821/[email protected]/config)
compiler: powerpc64-linux-gcc (GCC) 15.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260821/[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 >>)
   include/linux/panic.h:57:6: sparse: sparse: got panic_on_this_cpu
   include/linux/panic.h:58:6: sparse: sparse: Expected ; at end of declaration
   include/linux/panic.h:58:6: sparse: sparse: got panic_on_other_cpu
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, include/linux/fortify-string.h, ...):
   include/linux/printk.h:86:17: sparse: sparse: expected ; at end of declaration
   include/linux/printk.h:86:17: sparse: sparse: Expected } at end of specifier
   include/linux/printk.h:86:17: sparse: sparse: got *
   include/linux/printk.h:87:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/printk.h:87:1: sparse: sparse: got }
   include/linux/printk.h:152:43: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:152:43: sparse: sparse: got args
   include/linux/printk.h:155:38: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:155:38: sparse: sparse: got args
   include/linux/printk.h:157:47: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:157:47: sparse: sparse: got args
   include/linux/printk.h:188:13: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:188:13: sparse: sparse: got printk_timed_ratelimit
   include/linux/printk.h:208:13: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:208:13: sparse: sparse: got nbcon_device_try_acquire
   include/linux/printk.h:211:6: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:211:6: sparse: sparse: got pr_flush
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, ...):
   include/linux/jump_label.h:80:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:80:13: sparse: sparse: got static_key_initialized
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through arch/powerpc/include/asm/jump_label.h, include/linux/jump_label.h, include/linux/dynamic_debug.h, include/linux/printk.h, ...):
   arch/powerpc/include/asm/feature-fixups.h:294:13: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/feature-fixups.h:294:13: sparse: sparse: got static_key_feature_checks_initialized
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through include/linux/jump_label.h, include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, ...):
   arch/powerpc/include/asm/jump_label.h:18:29: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:18:29: sparse: sparse: got arch_static_branch
   arch/powerpc/include/asm/jump_label.h:28:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   arch/powerpc/include/asm/jump_label.h:28:16: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:28:16: sparse: sparse: got false
   arch/powerpc/include/asm/jump_label.h:29:6: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:29:6: sparse: sparse: got :
   arch/powerpc/include/asm/jump_label.h:31:1: sparse: sparse: Expected ; at the end of type declaration
   arch/powerpc/include/asm/jump_label.h:31:1: sparse: sparse: got }
   arch/powerpc/include/asm/jump_label.h:43:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   arch/powerpc/include/asm/jump_label.h:43:16: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:43:16: sparse: sparse: got false
   arch/powerpc/include/asm/jump_label.h:44:6: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:44:6: sparse: sparse: got :
   arch/powerpc/include/asm/jump_label.h:46:1: sparse: sparse: Expected ; at the end of type declaration
   arch/powerpc/include/asm/jump_label.h:46:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, ...):
   include/linux/jump_label.h:115:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:115:1: sparse: sparse: got }
   include/linux/jump_label.h:153:20: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:153:20: sparse: sparse: got jump_entry_is_branch
   include/linux/jump_label.h:156:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:156:1: sparse: sparse: got }
   include/linux/jump_label.h:161:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:161:1: sparse: sparse: got }
   include/linux/jump_label.h:167:9: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/jump_label.h:168:17: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:168:17: sparse: sparse: got entry
   include/linux/jump_label.h:169:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:169:1: sparse: sparse: got }
   include/linux/jump_label.h:178:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:178:1: sparse: sparse: got }
   include/linux/jump_label.h:199:29: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:199:29: sparse: sparse: got static_key_false
   include/linux/jump_label.h:202:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:202:1: sparse: sparse: got }
   include/linux/jump_label.h:207:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:207:1: sparse: sparse: got }
   include/linux/jump_label.h:218:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:218:13: sparse: sparse: got arch_jump_label_transform_queue
   include/linux/jump_label.h:222:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:222:13: sparse: sparse: got static_key_slow_inc
   include/linux/jump_label.h:223:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:223:13: sparse: sparse: got static_key_fast_inc_not_disabled
   include/linux/jump_label.h:225:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:225:13: sparse: sparse: got static_key_slow_inc_cpuslocked
   include/linux/jump_label.h:337:1: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:337:1: sparse: sparse: got class_jump_label_lock_is_conditional
   include/linux/jump_label.h:405:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:405:13: sparse: sparse: got ____wrong_branch_error
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, ...):
   include/linux/dynamic_debug.h:124:20: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:124:20: sparse: sparse: got ddebug_mode_has_print
   include/linux/dynamic_debug.h:127:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:127:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:127:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:133:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:133:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:138:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:138:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:138:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:140:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:140:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:145:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:145:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:145:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:147:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:147:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:152:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:152:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:181:32: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:181:32: sparse: sparse: got (
>> include/linux/dynamic_debug.h:181:9: sparse: sparse: Trying to use reserved word 'switch' as identifier
>> include/linux/dynamic_debug.h:184:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:185:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:185:14: sparse: sparse: got 2
>> include/linux/dynamic_debug.h:185:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:187:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:188:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:188:14: sparse: sparse: got 3
   include/linux/dynamic_debug.h:188:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:190:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:191:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:191:14: sparse: sparse: got 4
   include/linux/dynamic_debug.h:191:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:194:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:195:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:195:14: sparse: sparse: got 6
   include/linux/dynamic_debug.h:195:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:197:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:198:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:198:14: sparse: sparse: got 7
   include/linux/dynamic_debug.h:198:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:200:17: sparse: sparse: Trying to use reserved word 'break' as identifier
>> include/linux/dynamic_debug.h:201:9: sparse: sparse: Trying to use reserved word 'default' as identifier
   include/linux/dynamic_debug.h:201:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:201:16: sparse: sparse: got :
   include/linux/dynamic_debug.h:203:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:203:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:205:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:205:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:213:14: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:213:14: sparse: sparse: got virt_print
   include/linux/dynamic_debug.h:216:9: sparse: sparse: Trying to use reserved word 'if' as identifier
>> include/linux/dynamic_debug.h:216:13: sparse: sparse: missing type declaration for parameter 'virt_print'
>> include/linux/dynamic_debug.h:238:11: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/dynamic_debug.h:238:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:238:16: sparse: sparse: got {
   include/linux/dynamic_debug.h:241:17: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/dynamic_debug.h:242:25: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:242:25: sparse: sparse: got mode
   include/linux/dynamic_debug.h:243:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:243:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:246:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:246:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:246:16: sparse: sparse: got phys_flags
   include/linux/dynamic_debug.h:247:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:247:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:624:6: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:624:6: sparse: sparse: got ddebug_apply_ratelimit_solo
   include/linux/dynamic_debug.h:625:6: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:625:6: sparse: sparse: got ddebug_apply_ratelimit_shared
   include/linux/dynamic_debug.h:631:29: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:631:29: sparse: sparse: got ddebug_apply_execution_state
   include/linux/dynamic_debug.h:636:13: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:636:13: sparse: sparse: got (
   include/linux/dynamic_debug.h:636:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:640:13: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:640:13: sparse: sparse: got (
   include/linux/dynamic_debug.h:640:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:642:26: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:642:26: sparse: sparse: got ==
   include/linux/dynamic_debug.h:642:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:644:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:644:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:649:17: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:649:24: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:649:24: sparse: sparse: got true
   include/linux/dynamic_debug.h:650:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:650:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:653:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:653:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:658:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:658:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:661:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:661:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:664:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:664:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, include/linux/fortify-string.h, ...):
   include/linux/printk.h:760:36: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:760:36: sparse: sparse: got ascii
   include/linux/printk.h:764:62: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:764:62: sparse: sparse: got ascii
   include/linux/printk.h:805:75: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:805:75: sparse: sparse: got ascii
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through include/linux/bug.h, include/linux/fortify-string.h, include/linux/string.h, arch/powerpc/include/asm/paca.h, ...):
   arch/powerpc/include/asm/bug.h:128:13: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/bug.h:128:13: sparse: sparse: got die_will_crash
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through include/linux/fortify-string.h, include/linux/string.h, arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, ...):
   include/linux/bug.h:94:33: sparse: sparse: Expected ; at end of declaration
   include/linux/bug.h:94:33: sparse: sparse: got check_data_corruption
   include/linux/bug.h:94:75: sparse: sparse: Expected ; at the end of type declaration
   include/linux/bug.h:94:75: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through include/linux/string.h, arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, include/linux/sched.h, ...):
   include/linux/fortify-string.h:412:23: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:412:23: sparse: sparse: got fortify_memset_chk
   include/linux/fortify-string.h:429:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:429:21: sparse: sparse: got (
   include/linux/fortify-string.h:429:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:431:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:431:9: sparse: sparse: got }
   include/linux/fortify-string.h:448:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/fortify-string.h:448:16: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:448:16: sparse: sparse: got false
   include/linux/fortify-string.h:449:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:449:1: sparse: sparse: got }
   include/linux/fortify-string.h:515:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:515:21: sparse: sparse: got (
   include/linux/fortify-string.h:515:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:520:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:520:21: sparse: sparse: got (
   include/linux/fortify-string.h:520:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:527:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:527:21: sparse: sparse: got (
   include/linux/fortify-string.h:527:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:531:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:531:9: sparse: sparse: got }
   include/linux/fortify-string.h:548:9: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/fortify-string.h:548:14: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:548:14: sparse: sparse: got if
   include/linux/fortify-string.h:562:26: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:562:26: sparse: sparse: got !=
   include/linux/fortify-string.h:562:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:566:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/fortify-string.h:566:16: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:566:16: sparse: sparse: got false
   include/linux/fortify-string.h:567:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:567:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec1.c: note: in included file (through arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, include/linux/sched.h, ...):
   include/linux/string.h:564:20: sparse: sparse: Expected ; at end of declaration
   include/linux/string.h:564:20: sparse: sparse: got strstarts
   include/linux/string.h:567:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/string.h:567:1: sparse: sparse: got }
   include/linux/string.h:582:21: sparse: sparse: Expected ) in function declarator
   include/linux/string.h:582:21: sparse: sparse: got <
   include/linux/string.h:582:9: sparse: sparse: Trying to use reserved word 'if' as identifier
--
   include/linux/panic.h:57:6: sparse: sparse: got panic_on_this_cpu
   include/linux/panic.h:58:6: sparse: sparse: Expected ; at end of declaration
   include/linux/panic.h:58:6: sparse: sparse: got panic_on_other_cpu
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, include/linux/fortify-string.h, ...):
   include/linux/printk.h:86:17: sparse: sparse: expected ; at end of declaration
   include/linux/printk.h:86:17: sparse: sparse: Expected } at end of specifier
   include/linux/printk.h:86:17: sparse: sparse: got *
   include/linux/printk.h:87:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/printk.h:87:1: sparse: sparse: got }
   include/linux/printk.h:152:43: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:152:43: sparse: sparse: got args
   include/linux/printk.h:155:38: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:155:38: sparse: sparse: got args
   include/linux/printk.h:157:47: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:157:47: sparse: sparse: got args
   include/linux/printk.h:188:13: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:188:13: sparse: sparse: got printk_timed_ratelimit
   include/linux/printk.h:208:13: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:208:13: sparse: sparse: got nbcon_device_try_acquire
   include/linux/printk.h:211:6: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:211:6: sparse: sparse: got pr_flush
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, ...):
   include/linux/jump_label.h:80:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:80:13: sparse: sparse: got static_key_initialized
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through arch/powerpc/include/asm/jump_label.h, include/linux/jump_label.h, include/linux/dynamic_debug.h, include/linux/printk.h, ...):
   arch/powerpc/include/asm/feature-fixups.h:294:13: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/feature-fixups.h:294:13: sparse: sparse: got static_key_feature_checks_initialized
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through include/linux/jump_label.h, include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, ...):
   arch/powerpc/include/asm/jump_label.h:18:29: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:18:29: sparse: sparse: got arch_static_branch
   arch/powerpc/include/asm/jump_label.h:28:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   arch/powerpc/include/asm/jump_label.h:28:16: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:28:16: sparse: sparse: got false
   arch/powerpc/include/asm/jump_label.h:29:6: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:29:6: sparse: sparse: got :
   arch/powerpc/include/asm/jump_label.h:31:1: sparse: sparse: Expected ; at the end of type declaration
   arch/powerpc/include/asm/jump_label.h:31:1: sparse: sparse: got }
   arch/powerpc/include/asm/jump_label.h:43:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   arch/powerpc/include/asm/jump_label.h:43:16: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:43:16: sparse: sparse: got false
   arch/powerpc/include/asm/jump_label.h:44:6: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:44:6: sparse: sparse: got :
   arch/powerpc/include/asm/jump_label.h:46:1: sparse: sparse: Expected ; at the end of type declaration
   arch/powerpc/include/asm/jump_label.h:46:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, ...):
   include/linux/jump_label.h:115:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:115:1: sparse: sparse: got }
   include/linux/jump_label.h:153:20: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:153:20: sparse: sparse: got jump_entry_is_branch
   include/linux/jump_label.h:156:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:156:1: sparse: sparse: got }
   include/linux/jump_label.h:161:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:161:1: sparse: sparse: got }
   include/linux/jump_label.h:167:9: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/jump_label.h:168:17: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:168:17: sparse: sparse: got entry
   include/linux/jump_label.h:169:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:169:1: sparse: sparse: got }
   include/linux/jump_label.h:178:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:178:1: sparse: sparse: got }
   include/linux/jump_label.h:199:29: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:199:29: sparse: sparse: got static_key_false
   include/linux/jump_label.h:202:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:202:1: sparse: sparse: got }
   include/linux/jump_label.h:207:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:207:1: sparse: sparse: got }
   include/linux/jump_label.h:218:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:218:13: sparse: sparse: got arch_jump_label_transform_queue
   include/linux/jump_label.h:222:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:222:13: sparse: sparse: got static_key_slow_inc
   include/linux/jump_label.h:223:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:223:13: sparse: sparse: got static_key_fast_inc_not_disabled
   include/linux/jump_label.h:225:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:225:13: sparse: sparse: got static_key_slow_inc_cpuslocked
   include/linux/jump_label.h:337:1: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:337:1: sparse: sparse: got class_jump_label_lock_is_conditional
   include/linux/jump_label.h:405:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:405:13: sparse: sparse: got ____wrong_branch_error
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, ...):
   include/linux/dynamic_debug.h:124:20: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:124:20: sparse: sparse: got ddebug_mode_has_print
   include/linux/dynamic_debug.h:127:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:127:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:127:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:133:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:133:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:138:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:138:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:138:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:140:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:140:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:145:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:145:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:145:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:147:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:147:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:152:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:152:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:181:32: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:181:32: sparse: sparse: got (
>> include/linux/dynamic_debug.h:181:9: sparse: sparse: Trying to use reserved word 'switch' as identifier
>> include/linux/dynamic_debug.h:184:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:185:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:185:14: sparse: sparse: got 2
>> include/linux/dynamic_debug.h:185:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:187:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:188:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:188:14: sparse: sparse: got 3
   include/linux/dynamic_debug.h:188:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:190:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:191:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:191:14: sparse: sparse: got 4
   include/linux/dynamic_debug.h:191:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:194:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:195:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:195:14: sparse: sparse: got 6
   include/linux/dynamic_debug.h:195:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:197:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:198:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:198:14: sparse: sparse: got 7
   include/linux/dynamic_debug.h:198:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:200:17: sparse: sparse: Trying to use reserved word 'break' as identifier
>> include/linux/dynamic_debug.h:201:9: sparse: sparse: Trying to use reserved word 'default' as identifier
   include/linux/dynamic_debug.h:201:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:201:16: sparse: sparse: got :
   include/linux/dynamic_debug.h:203:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:203:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:205:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:205:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:213:14: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:213:14: sparse: sparse: got virt_print
   include/linux/dynamic_debug.h:216:9: sparse: sparse: Trying to use reserved word 'if' as identifier
>> include/linux/dynamic_debug.h:216:13: sparse: sparse: missing type declaration for parameter 'virt_print'
>> include/linux/dynamic_debug.h:238:11: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/dynamic_debug.h:238:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:238:16: sparse: sparse: got {
   include/linux/dynamic_debug.h:241:17: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/dynamic_debug.h:242:25: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:242:25: sparse: sparse: got mode
   include/linux/dynamic_debug.h:243:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:243:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:246:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:246:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:246:16: sparse: sparse: got phys_flags
   include/linux/dynamic_debug.h:247:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:247:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:624:6: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:624:6: sparse: sparse: got ddebug_apply_ratelimit_solo
   include/linux/dynamic_debug.h:625:6: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:625:6: sparse: sparse: got ddebug_apply_ratelimit_shared
   include/linux/dynamic_debug.h:631:29: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:631:29: sparse: sparse: got ddebug_apply_execution_state
   include/linux/dynamic_debug.h:636:13: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:636:13: sparse: sparse: got (
   include/linux/dynamic_debug.h:636:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:640:13: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:640:13: sparse: sparse: got (
   include/linux/dynamic_debug.h:640:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:642:26: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:642:26: sparse: sparse: got ==
   include/linux/dynamic_debug.h:642:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:644:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:644:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:649:17: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:649:24: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:649:24: sparse: sparse: got true
   include/linux/dynamic_debug.h:650:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:650:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:653:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:653:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:658:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:658:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:661:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:661:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:664:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:664:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, include/linux/fortify-string.h, ...):
   include/linux/printk.h:760:36: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:760:36: sparse: sparse: got ascii
   include/linux/printk.h:764:62: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:764:62: sparse: sparse: got ascii
   include/linux/printk.h:805:75: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:805:75: sparse: sparse: got ascii
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through include/linux/bug.h, include/linux/fortify-string.h, include/linux/string.h, arch/powerpc/include/asm/paca.h, ...):
   arch/powerpc/include/asm/bug.h:128:13: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/bug.h:128:13: sparse: sparse: got die_will_crash
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through include/linux/fortify-string.h, include/linux/string.h, arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, ...):
   include/linux/bug.h:94:33: sparse: sparse: Expected ; at end of declaration
   include/linux/bug.h:94:33: sparse: sparse: got check_data_corruption
   include/linux/bug.h:94:75: sparse: sparse: Expected ; at the end of type declaration
   include/linux/bug.h:94:75: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through include/linux/string.h, arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, include/linux/sched.h, ...):
   include/linux/fortify-string.h:412:23: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:412:23: sparse: sparse: got fortify_memset_chk
   include/linux/fortify-string.h:429:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:429:21: sparse: sparse: got (
   include/linux/fortify-string.h:429:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:431:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:431:9: sparse: sparse: got }
   include/linux/fortify-string.h:448:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/fortify-string.h:448:16: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:448:16: sparse: sparse: got false
   include/linux/fortify-string.h:449:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:449:1: sparse: sparse: got }
   include/linux/fortify-string.h:515:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:515:21: sparse: sparse: got (
   include/linux/fortify-string.h:515:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:520:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:520:21: sparse: sparse: got (
   include/linux/fortify-string.h:520:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:527:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:527:21: sparse: sparse: got (
   include/linux/fortify-string.h:527:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:531:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:531:9: sparse: sparse: got }
   include/linux/fortify-string.h:548:9: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/fortify-string.h:548:14: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:548:14: sparse: sparse: got if
   include/linux/fortify-string.h:562:26: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:562:26: sparse: sparse: got !=
   include/linux/fortify-string.h:562:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:566:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/fortify-string.h:566:16: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:566:16: sparse: sparse: got false
   include/linux/fortify-string.h:567:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:567:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec2.c: note: in included file (through arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, include/linux/sched.h, ...):
   include/linux/string.h:564:20: sparse: sparse: Expected ; at end of declaration
   include/linux/string.h:564:20: sparse: sparse: got strstarts
   include/linux/string.h:567:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/string.h:567:1: sparse: sparse: got }
   include/linux/string.h:582:21: sparse: sparse: Expected ) in function declarator
   include/linux/string.h:582:21: sparse: sparse: got <
   include/linux/string.h:582:9: sparse: sparse: Trying to use reserved word 'if' as identifier
--
   include/linux/panic.h:57:6: sparse: sparse: got panic_on_this_cpu
   include/linux/panic.h:58:6: sparse: sparse: Expected ; at end of declaration
   include/linux/panic.h:58:6: sparse: sparse: got panic_on_other_cpu
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, include/linux/fortify-string.h, ...):
   include/linux/printk.h:86:17: sparse: sparse: expected ; at end of declaration
   include/linux/printk.h:86:17: sparse: sparse: Expected } at end of specifier
   include/linux/printk.h:86:17: sparse: sparse: got *
   include/linux/printk.h:87:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/printk.h:87:1: sparse: sparse: got }
   include/linux/printk.h:152:43: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:152:43: sparse: sparse: got args
   include/linux/printk.h:155:38: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:155:38: sparse: sparse: got args
   include/linux/printk.h:157:47: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:157:47: sparse: sparse: got args
   include/linux/printk.h:188:13: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:188:13: sparse: sparse: got printk_timed_ratelimit
   include/linux/printk.h:208:13: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:208:13: sparse: sparse: got nbcon_device_try_acquire
   include/linux/printk.h:211:6: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:211:6: sparse: sparse: got pr_flush
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, ...):
   include/linux/jump_label.h:80:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:80:13: sparse: sparse: got static_key_initialized
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through arch/powerpc/include/asm/jump_label.h, include/linux/jump_label.h, include/linux/dynamic_debug.h, include/linux/printk.h, ...):
   arch/powerpc/include/asm/feature-fixups.h:294:13: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/feature-fixups.h:294:13: sparse: sparse: got static_key_feature_checks_initialized
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through include/linux/jump_label.h, include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, ...):
   arch/powerpc/include/asm/jump_label.h:18:29: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:18:29: sparse: sparse: got arch_static_branch
   arch/powerpc/include/asm/jump_label.h:28:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   arch/powerpc/include/asm/jump_label.h:28:16: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:28:16: sparse: sparse: got false
   arch/powerpc/include/asm/jump_label.h:29:6: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:29:6: sparse: sparse: got :
   arch/powerpc/include/asm/jump_label.h:31:1: sparse: sparse: Expected ; at the end of type declaration
   arch/powerpc/include/asm/jump_label.h:31:1: sparse: sparse: got }
   arch/powerpc/include/asm/jump_label.h:43:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   arch/powerpc/include/asm/jump_label.h:43:16: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:43:16: sparse: sparse: got false
   arch/powerpc/include/asm/jump_label.h:44:6: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:44:6: sparse: sparse: got :
   arch/powerpc/include/asm/jump_label.h:46:1: sparse: sparse: Expected ; at the end of type declaration
   arch/powerpc/include/asm/jump_label.h:46:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, ...):
   include/linux/jump_label.h:115:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:115:1: sparse: sparse: got }
   include/linux/jump_label.h:153:20: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:153:20: sparse: sparse: got jump_entry_is_branch
   include/linux/jump_label.h:156:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:156:1: sparse: sparse: got }
   include/linux/jump_label.h:161:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:161:1: sparse: sparse: got }
   include/linux/jump_label.h:167:9: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/jump_label.h:168:17: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:168:17: sparse: sparse: got entry
   include/linux/jump_label.h:169:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:169:1: sparse: sparse: got }
   include/linux/jump_label.h:178:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:178:1: sparse: sparse: got }
   include/linux/jump_label.h:199:29: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:199:29: sparse: sparse: got static_key_false
   include/linux/jump_label.h:202:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:202:1: sparse: sparse: got }
   include/linux/jump_label.h:207:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:207:1: sparse: sparse: got }
   include/linux/jump_label.h:218:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:218:13: sparse: sparse: got arch_jump_label_transform_queue
   include/linux/jump_label.h:222:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:222:13: sparse: sparse: got static_key_slow_inc
   include/linux/jump_label.h:223:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:223:13: sparse: sparse: got static_key_fast_inc_not_disabled
   include/linux/jump_label.h:225:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:225:13: sparse: sparse: got static_key_slow_inc_cpuslocked
   include/linux/jump_label.h:337:1: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:337:1: sparse: sparse: got class_jump_label_lock_is_conditional
   include/linux/jump_label.h:405:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:405:13: sparse: sparse: got ____wrong_branch_error
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, ...):
   include/linux/dynamic_debug.h:124:20: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:124:20: sparse: sparse: got ddebug_mode_has_print
   include/linux/dynamic_debug.h:127:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:127:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:127:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:133:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:133:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:138:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:138:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:138:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:140:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:140:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:145:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:145:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:145:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:147:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:147:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:152:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:152:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:181:32: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:181:32: sparse: sparse: got (
>> include/linux/dynamic_debug.h:181:9: sparse: sparse: Trying to use reserved word 'switch' as identifier
>> include/linux/dynamic_debug.h:184:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:185:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:185:14: sparse: sparse: got 2
>> include/linux/dynamic_debug.h:185:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:187:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:188:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:188:14: sparse: sparse: got 3
   include/linux/dynamic_debug.h:188:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:190:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:191:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:191:14: sparse: sparse: got 4
   include/linux/dynamic_debug.h:191:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:194:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:195:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:195:14: sparse: sparse: got 6
   include/linux/dynamic_debug.h:195:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:197:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:198:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:198:14: sparse: sparse: got 7
   include/linux/dynamic_debug.h:198:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:200:17: sparse: sparse: Trying to use reserved word 'break' as identifier
>> include/linux/dynamic_debug.h:201:9: sparse: sparse: Trying to use reserved word 'default' as identifier
   include/linux/dynamic_debug.h:201:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:201:16: sparse: sparse: got :
   include/linux/dynamic_debug.h:203:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:203:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:205:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:205:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:213:14: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:213:14: sparse: sparse: got virt_print
   include/linux/dynamic_debug.h:216:9: sparse: sparse: Trying to use reserved word 'if' as identifier
>> include/linux/dynamic_debug.h:216:13: sparse: sparse: missing type declaration for parameter 'virt_print'
>> include/linux/dynamic_debug.h:238:11: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/dynamic_debug.h:238:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:238:16: sparse: sparse: got {
   include/linux/dynamic_debug.h:241:17: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/dynamic_debug.h:242:25: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:242:25: sparse: sparse: got mode
   include/linux/dynamic_debug.h:243:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:243:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:246:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:246:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:246:16: sparse: sparse: got phys_flags
   include/linux/dynamic_debug.h:247:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:247:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:624:6: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:624:6: sparse: sparse: got ddebug_apply_ratelimit_solo
   include/linux/dynamic_debug.h:625:6: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:625:6: sparse: sparse: got ddebug_apply_ratelimit_shared
   include/linux/dynamic_debug.h:631:29: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:631:29: sparse: sparse: got ddebug_apply_execution_state
   include/linux/dynamic_debug.h:636:13: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:636:13: sparse: sparse: got (
   include/linux/dynamic_debug.h:636:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:640:13: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:640:13: sparse: sparse: got (
   include/linux/dynamic_debug.h:640:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:642:26: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:642:26: sparse: sparse: got ==
   include/linux/dynamic_debug.h:642:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:644:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:644:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:649:17: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:649:24: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:649:24: sparse: sparse: got true
   include/linux/dynamic_debug.h:650:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:650:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:653:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:653:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:658:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:658:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:661:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:661:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:664:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:664:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, include/linux/fortify-string.h, ...):
   include/linux/printk.h:760:36: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:760:36: sparse: sparse: got ascii
   include/linux/printk.h:764:62: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:764:62: sparse: sparse: got ascii
   include/linux/printk.h:805:75: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:805:75: sparse: sparse: got ascii
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through include/linux/bug.h, include/linux/fortify-string.h, include/linux/string.h, arch/powerpc/include/asm/paca.h, ...):
   arch/powerpc/include/asm/bug.h:128:13: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/bug.h:128:13: sparse: sparse: got die_will_crash
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through include/linux/fortify-string.h, include/linux/string.h, arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, ...):
   include/linux/bug.h:94:33: sparse: sparse: Expected ; at end of declaration
   include/linux/bug.h:94:33: sparse: sparse: got check_data_corruption
   include/linux/bug.h:94:75: sparse: sparse: Expected ; at the end of type declaration
   include/linux/bug.h:94:75: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through include/linux/string.h, arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, include/linux/sched.h, ...):
   include/linux/fortify-string.h:412:23: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:412:23: sparse: sparse: got fortify_memset_chk
   include/linux/fortify-string.h:429:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:429:21: sparse: sparse: got (
   include/linux/fortify-string.h:429:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:431:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:431:9: sparse: sparse: got }
   include/linux/fortify-string.h:448:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/fortify-string.h:448:16: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:448:16: sparse: sparse: got false
   include/linux/fortify-string.h:449:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:449:1: sparse: sparse: got }
   include/linux/fortify-string.h:515:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:515:21: sparse: sparse: got (
   include/linux/fortify-string.h:515:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:520:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:520:21: sparse: sparse: got (
   include/linux/fortify-string.h:520:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:527:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:527:21: sparse: sparse: got (
   include/linux/fortify-string.h:527:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:531:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:531:9: sparse: sparse: got }
   include/linux/fortify-string.h:548:9: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/fortify-string.h:548:14: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:548:14: sparse: sparse: got if
   include/linux/fortify-string.h:562:26: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:562:26: sparse: sparse: got !=
   include/linux/fortify-string.h:562:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:566:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/fortify-string.h:566:16: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:566:16: sparse: sparse: got false
   include/linux/fortify-string.h:567:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:567:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec4.c: note: in included file (through arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, include/linux/sched.h, ...):
   include/linux/string.h:564:20: sparse: sparse: Expected ; at end of declaration
   include/linux/string.h:564:20: sparse: sparse: got strstarts
   include/linux/string.h:567:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/string.h:567:1: sparse: sparse: got }
   include/linux/string.h:582:21: sparse: sparse: Expected ) in function declarator
   include/linux/string.h:582:21: sparse: sparse: got <
   include/linux/string.h:582:9: sparse: sparse: Trying to use reserved word 'if' as identifier
--
   include/linux/panic.h:57:6: sparse: sparse: got panic_on_this_cpu
   include/linux/panic.h:58:6: sparse: sparse: Expected ; at end of declaration
   include/linux/panic.h:58:6: sparse: sparse: got panic_on_other_cpu
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, include/linux/fortify-string.h, ...):
   include/linux/printk.h:86:17: sparse: sparse: expected ; at end of declaration
   include/linux/printk.h:86:17: sparse: sparse: Expected } at end of specifier
   include/linux/printk.h:86:17: sparse: sparse: got *
   include/linux/printk.h:87:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/printk.h:87:1: sparse: sparse: got }
   include/linux/printk.h:152:43: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:152:43: sparse: sparse: got args
   include/linux/printk.h:155:38: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:155:38: sparse: sparse: got args
   include/linux/printk.h:157:47: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:157:47: sparse: sparse: got args
   include/linux/printk.h:188:13: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:188:13: sparse: sparse: got printk_timed_ratelimit
   include/linux/printk.h:208:13: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:208:13: sparse: sparse: got nbcon_device_try_acquire
   include/linux/printk.h:211:6: sparse: sparse: Expected ; at end of declaration
   include/linux/printk.h:211:6: sparse: sparse: got pr_flush
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, ...):
   include/linux/jump_label.h:80:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:80:13: sparse: sparse: got static_key_initialized
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through arch/powerpc/include/asm/jump_label.h, include/linux/jump_label.h, include/linux/dynamic_debug.h, include/linux/printk.h, ...):
   arch/powerpc/include/asm/feature-fixups.h:294:13: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/feature-fixups.h:294:13: sparse: sparse: got static_key_feature_checks_initialized
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through include/linux/jump_label.h, include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, ...):
   arch/powerpc/include/asm/jump_label.h:18:29: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:18:29: sparse: sparse: got arch_static_branch
   arch/powerpc/include/asm/jump_label.h:28:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   arch/powerpc/include/asm/jump_label.h:28:16: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:28:16: sparse: sparse: got false
   arch/powerpc/include/asm/jump_label.h:29:6: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:29:6: sparse: sparse: got :
   arch/powerpc/include/asm/jump_label.h:31:1: sparse: sparse: Expected ; at the end of type declaration
   arch/powerpc/include/asm/jump_label.h:31:1: sparse: sparse: got }
   arch/powerpc/include/asm/jump_label.h:43:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   arch/powerpc/include/asm/jump_label.h:43:16: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:43:16: sparse: sparse: got false
   arch/powerpc/include/asm/jump_label.h:44:6: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/jump_label.h:44:6: sparse: sparse: got :
   arch/powerpc/include/asm/jump_label.h:46:1: sparse: sparse: Expected ; at the end of type declaration
   arch/powerpc/include/asm/jump_label.h:46:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through include/linux/dynamic_debug.h, include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, ...):
   include/linux/jump_label.h:115:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:115:1: sparse: sparse: got }
   include/linux/jump_label.h:153:20: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:153:20: sparse: sparse: got jump_entry_is_branch
   include/linux/jump_label.h:156:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:156:1: sparse: sparse: got }
   include/linux/jump_label.h:161:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:161:1: sparse: sparse: got }
   include/linux/jump_label.h:167:9: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/jump_label.h:168:17: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:168:17: sparse: sparse: got entry
   include/linux/jump_label.h:169:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:169:1: sparse: sparse: got }
   include/linux/jump_label.h:178:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:178:1: sparse: sparse: got }
   include/linux/jump_label.h:199:29: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:199:29: sparse: sparse: got static_key_false
   include/linux/jump_label.h:202:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:202:1: sparse: sparse: got }
   include/linux/jump_label.h:207:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/jump_label.h:207:1: sparse: sparse: got }
   include/linux/jump_label.h:218:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:218:13: sparse: sparse: got arch_jump_label_transform_queue
   include/linux/jump_label.h:222:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:222:13: sparse: sparse: got static_key_slow_inc
   include/linux/jump_label.h:223:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:223:13: sparse: sparse: got static_key_fast_inc_not_disabled
   include/linux/jump_label.h:225:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:225:13: sparse: sparse: got static_key_slow_inc_cpuslocked
   include/linux/jump_label.h:337:1: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:337:1: sparse: sparse: got class_jump_label_lock_is_conditional
   include/linux/jump_label.h:405:13: sparse: sparse: Expected ; at end of declaration
   include/linux/jump_label.h:405:13: sparse: sparse: got ____wrong_branch_error
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through include/linux/printk.h, include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, ...):
   include/linux/dynamic_debug.h:124:20: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:124:20: sparse: sparse: got ddebug_mode_has_print
   include/linux/dynamic_debug.h:127:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:127:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:127:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:133:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:133:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:138:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:138:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:138:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:140:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:140:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:145:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:145:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:145:16: sparse: sparse: got mode
   include/linux/dynamic_debug.h:147:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:147:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:152:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:152:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:181:32: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:181:32: sparse: sparse: got (
>> include/linux/dynamic_debug.h:181:9: sparse: sparse: Trying to use reserved word 'switch' as identifier
>> include/linux/dynamic_debug.h:184:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:185:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:185:14: sparse: sparse: got 2
>> include/linux/dynamic_debug.h:185:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:187:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:188:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:188:14: sparse: sparse: got 3
   include/linux/dynamic_debug.h:188:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:190:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:191:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:191:14: sparse: sparse: got 4
   include/linux/dynamic_debug.h:191:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:194:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:195:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:195:14: sparse: sparse: got 6
   include/linux/dynamic_debug.h:195:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:197:17: sparse: sparse: Trying to use reserved word 'break' as identifier
   include/linux/dynamic_debug.h:198:14: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:198:14: sparse: sparse: got 7
   include/linux/dynamic_debug.h:198:9: sparse: sparse: Trying to use reserved word 'case' as identifier
   include/linux/dynamic_debug.h:200:17: sparse: sparse: Trying to use reserved word 'break' as identifier
>> include/linux/dynamic_debug.h:201:9: sparse: sparse: Trying to use reserved word 'default' as identifier
   include/linux/dynamic_debug.h:201:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:201:16: sparse: sparse: got :
   include/linux/dynamic_debug.h:203:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:203:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:205:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:205:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:213:14: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:213:14: sparse: sparse: got virt_print
   include/linux/dynamic_debug.h:216:9: sparse: sparse: Trying to use reserved word 'if' as identifier
>> include/linux/dynamic_debug.h:216:13: sparse: sparse: missing type declaration for parameter 'virt_print'
>> include/linux/dynamic_debug.h:238:11: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/dynamic_debug.h:238:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:238:16: sparse: sparse: got {
   include/linux/dynamic_debug.h:241:17: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/dynamic_debug.h:242:25: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:242:25: sparse: sparse: got mode
   include/linux/dynamic_debug.h:243:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:243:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:246:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:246:16: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:246:16: sparse: sparse: got phys_flags
   include/linux/dynamic_debug.h:247:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:247:1: sparse: sparse: got }
   include/linux/dynamic_debug.h:624:6: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:624:6: sparse: sparse: got ddebug_apply_ratelimit_solo
   include/linux/dynamic_debug.h:625:6: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:625:6: sparse: sparse: got ddebug_apply_ratelimit_shared
   include/linux/dynamic_debug.h:631:29: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:631:29: sparse: sparse: got ddebug_apply_execution_state
   include/linux/dynamic_debug.h:636:13: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:636:13: sparse: sparse: got (
   include/linux/dynamic_debug.h:636:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:640:13: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:640:13: sparse: sparse: got (
   include/linux/dynamic_debug.h:640:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:642:26: sparse: sparse: Expected ) in function declarator
   include/linux/dynamic_debug.h:642:26: sparse: sparse: got ==
   include/linux/dynamic_debug.h:642:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/dynamic_debug.h:644:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:644:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:649:17: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/dynamic_debug.h:649:24: sparse: sparse: Expected ; at end of declaration
   include/linux/dynamic_debug.h:649:24: sparse: sparse: got true
   include/linux/dynamic_debug.h:650:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:650:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:653:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:653:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:658:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:658:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:661:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:661:9: sparse: sparse: got }
   include/linux/dynamic_debug.h:664:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/dynamic_debug.h:664:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through include/asm-generic/bug.h, arch/powerpc/include/asm/bug.h, include/linux/bug.h, include/linux/fortify-string.h, ...):
   include/linux/printk.h:760:36: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:760:36: sparse: sparse: got ascii
   include/linux/printk.h:764:62: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:764:62: sparse: sparse: got ascii
   include/linux/printk.h:805:75: sparse: sparse: Expected ) in function declarator
   include/linux/printk.h:805:75: sparse: sparse: got ascii
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through include/linux/bug.h, include/linux/fortify-string.h, include/linux/string.h, arch/powerpc/include/asm/paca.h, ...):
   arch/powerpc/include/asm/bug.h:128:13: sparse: sparse: Expected ; at end of declaration
   arch/powerpc/include/asm/bug.h:128:13: sparse: sparse: got die_will_crash
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through include/linux/fortify-string.h, include/linux/string.h, arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, ...):
   include/linux/bug.h:94:33: sparse: sparse: Expected ; at end of declaration
   include/linux/bug.h:94:33: sparse: sparse: got check_data_corruption
   include/linux/bug.h:94:75: sparse: sparse: Expected ; at the end of type declaration
   include/linux/bug.h:94:75: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through include/linux/string.h, arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, include/linux/sched.h, ...):
   include/linux/fortify-string.h:412:23: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:412:23: sparse: sparse: got fortify_memset_chk
   include/linux/fortify-string.h:429:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:429:21: sparse: sparse: got (
   include/linux/fortify-string.h:429:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:431:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:431:9: sparse: sparse: got }
   include/linux/fortify-string.h:448:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/fortify-string.h:448:16: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:448:16: sparse: sparse: got false
   include/linux/fortify-string.h:449:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:449:1: sparse: sparse: got }
   include/linux/fortify-string.h:515:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:515:21: sparse: sparse: got (
   include/linux/fortify-string.h:515:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:520:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:520:21: sparse: sparse: got (
   include/linux/fortify-string.h:520:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:527:21: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:527:21: sparse: sparse: got (
   include/linux/fortify-string.h:527:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:531:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:531:9: sparse: sparse: got }
   include/linux/fortify-string.h:548:9: sparse: sparse: Trying to use reserved word 'else' as identifier
   include/linux/fortify-string.h:548:14: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:548:14: sparse: sparse: got if
   include/linux/fortify-string.h:562:26: sparse: sparse: Expected ) in function declarator
   include/linux/fortify-string.h:562:26: sparse: sparse: got !=
   include/linux/fortify-string.h:562:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/fortify-string.h:566:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   include/linux/fortify-string.h:566:16: sparse: sparse: Expected ; at end of declaration
   include/linux/fortify-string.h:566:16: sparse: sparse: got false
   include/linux/fortify-string.h:567:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/fortify-string.h:567:1: sparse: sparse: got }
   lib/raid/raid6/powerpc/altivec8.c: note: in included file (through arch/powerpc/include/asm/paca.h, arch/powerpc/include/asm/current.h, include/linux/sched.h, ...):
   include/linux/string.h:564:20: sparse: sparse: Expected ; at end of declaration
   include/linux/string.h:564:20: sparse: sparse: got strstarts
   include/linux/string.h:567:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/string.h:567:1: sparse: sparse: got }
   include/linux/string.h:582:21: sparse: sparse: Expected ) in function declarator
   include/linux/string.h:582:21: sparse: sparse: got <
   include/linux/string.h:582:9: sparse: sparse: Trying to use reserved word 'if' as identifier

vim +/switch +181 include/linux/dynamic_debug.h

d2c50b9f1ea47a Jim Cromie 2026-07-04  141  
d2c50b9f1ea47a Jim Cromie 2026-07-04  142  static inline bool ddebug_mode_has_ratelimit(unsigned int flags)
d2c50b9f1ea47a Jim Cromie 2026-07-04  143  {
d2c50b9f1ea47a Jim Cromie 2026-07-04  144  	unsigned int mode = ddebug_get_mode(flags);
d2c50b9f1ea47a Jim Cromie 2026-07-04 @145  	return mode == _DPRINTK_MODE_RATELIMIT_SOLO ||
d2c50b9f1ea47a Jim Cromie 2026-07-04  146  	       mode == _DPRINTK_MODE_RATELIMIT_SHARED;
d2c50b9f1ea47a Jim Cromie 2026-07-04 @147  }
d2c50b9f1ea47a Jim Cromie 2026-07-04  148  
d2c50b9f1ea47a Jim Cromie 2026-07-04  149  static inline bool ddebug_mode_enabled(unsigned int flags)
d2c50b9f1ea47a Jim Cromie 2026-07-04  150  {
d2c50b9f1ea47a Jim Cromie 2026-07-04  151  	return ddebug_get_mode(flags) != _DPRINTK_MODE_DISABLED;
d2c50b9f1ea47a Jim Cromie 2026-07-04  152  }
d2c50b9f1ea47a Jim Cromie 2026-07-04  153  
d2c50b9f1ea47a Jim Cromie 2026-07-04  154  #define _DPRINTK_FLAGS_ANY_RATELIMIT \
d2c50b9f1ea47a Jim Cromie 2026-07-04  155  	(_DPRINTK_MODE_RATELIMIT_SOLO | _DPRINTK_MODE_RATELIMIT_SHARED)
d2c50b9f1ea47a Jim Cromie 2026-07-04  156  
d2c50b9f1ea47a Jim Cromie 2026-07-04  157  #define _DPRINTK_FLAGS_ENABLED \
d2c50b9f1ea47a Jim Cromie 2026-07-04  158  	(_DPRINTK_MODE_PRINT | _DPRINTK_MODE_COUNT | _DPRINTK_MODE_PRINT_COUNT | \
d2c50b9f1ea47a Jim Cromie 2026-07-04  159  	 _DPRINTK_MODE_ONCE | _DPRINTK_MODE_ONCE_FIRED | \
d2c50b9f1ea47a Jim Cromie 2026-07-04  160  	 _DPRINTK_MODE_RATELIMIT_SOLO | _DPRINTK_MODE_RATELIMIT_SHARED)
d2c50b9f1ea47a Jim Cromie 2026-07-04  161  
d2c50b9f1ea47a Jim Cromie 2026-07-04  162  #define _DPRINTK_FLAGS_ACTIVE  _DPRINTK_FLAGS_ENABLED
d2c50b9f1ea47a Jim Cromie 2026-07-04  163  
5431913f1c32e5 Jim Cromie 2026-07-17  164  #define DDEBUG_VIRTUAL_TO_PHYSICAL_CONST(virt_flags) ( \
5431913f1c32e5 Jim Cromie 2026-07-17  165  	((virt_flags) & ~(_DPRINTK_FLAGS_PRINT | _DPRINTK_FLAGS_COUNT | \
5431913f1c32e5 Jim Cromie 2026-07-17  166  			  _DPRINTK_FLAGS_RATELIMIT_SOLO | _DPRINTK_FLAGS_RATELIMIT_SHARED | \
5431913f1c32e5 Jim Cromie 2026-07-17  167  			  _DPRINTK_FLAGS_ONCE)) | \
5431913f1c32e5 Jim Cromie 2026-07-17  168  	(((virt_flags) & _DPRINTK_FLAGS_ONCE) ? _DPRINTK_MODE_ONCE : \
5431913f1c32e5 Jim Cromie 2026-07-17  169  	 ((virt_flags) & _DPRINTK_FLAGS_RATELIMIT_SOLO) ? _DPRINTK_MODE_RATELIMIT_SOLO : \
5431913f1c32e5 Jim Cromie 2026-07-17  170  	 ((virt_flags) & _DPRINTK_FLAGS_RATELIMIT_SHARED) ? _DPRINTK_MODE_RATELIMIT_SHARED : \
5431913f1c32e5 Jim Cromie 2026-07-17  171  	 (((virt_flags) & _DPRINTK_FLAGS_PRINT) && ((virt_flags) & _DPRINTK_FLAGS_COUNT)) ? _DPRINTK_MODE_PRINT_COUNT : \
5431913f1c32e5 Jim Cromie 2026-07-17  172  	 ((virt_flags) & _DPRINTK_FLAGS_PRINT) ? _DPRINTK_MODE_PRINT : \
5431913f1c32e5 Jim Cromie 2026-07-17  173  	 ((virt_flags) & _DPRINTK_FLAGS_COUNT) ? _DPRINTK_MODE_COUNT : \
5431913f1c32e5 Jim Cromie 2026-07-17  174  	 _DPRINTK_MODE_DISABLED) \
5431913f1c32e5 Jim Cromie 2026-07-17  175  )
5431913f1c32e5 Jim Cromie 2026-07-17  176  
5431913f1c32e5 Jim Cromie 2026-07-17  177  static inline unsigned int ddebug_physical_to_virtual(unsigned int phys_flags)
5431913f1c32e5 Jim Cromie 2026-07-17  178  {
5431913f1c32e5 Jim Cromie 2026-07-17  179  	unsigned int virt_flags = phys_flags & ~_DPRINTK_MODE_MASK;
5431913f1c32e5 Jim Cromie 2026-07-17  180  
5431913f1c32e5 Jim Cromie 2026-07-17 @181  	switch (ddebug_get_mode(phys_flags)) {
5431913f1c32e5 Jim Cromie 2026-07-17  182  	case _DPRINTK_MODE_PRINT:
5431913f1c32e5 Jim Cromie 2026-07-17  183  		virt_flags |= _DPRINTK_FLAGS_PRINT;
5431913f1c32e5 Jim Cromie 2026-07-17 @184  		break;
5431913f1c32e5 Jim Cromie 2026-07-17 @185  	case _DPRINTK_MODE_COUNT:
5431913f1c32e5 Jim Cromie 2026-07-17  186  		virt_flags |= _DPRINTK_FLAGS_COUNT;
5431913f1c32e5 Jim Cromie 2026-07-17  187  		break;
5431913f1c32e5 Jim Cromie 2026-07-17  188  	case _DPRINTK_MODE_PRINT_COUNT:
5431913f1c32e5 Jim Cromie 2026-07-17  189  		virt_flags |= _DPRINTK_FLAGS_PRINT | _DPRINTK_FLAGS_COUNT;
5431913f1c32e5 Jim Cromie 2026-07-17  190  		break;
5431913f1c32e5 Jim Cromie 2026-07-17  191  	case _DPRINTK_MODE_ONCE:
5431913f1c32e5 Jim Cromie 2026-07-17  192  	case _DPRINTK_MODE_ONCE_FIRED:
5431913f1c32e5 Jim Cromie 2026-07-17  193  		virt_flags |= _DPRINTK_FLAGS_PRINT | _DPRINTK_FLAGS_ONCE;
5431913f1c32e5 Jim Cromie 2026-07-17 @194  		break;
5431913f1c32e5 Jim Cromie 2026-07-17  195  	case _DPRINTK_MODE_RATELIMIT_SOLO:
5431913f1c32e5 Jim Cromie 2026-07-17  196  		virt_flags |= _DPRINTK_FLAGS_PRINT | _DPRINTK_FLAGS_RATELIMIT_SOLO;
5431913f1c32e5 Jim Cromie 2026-07-17  197  		break;
5431913f1c32e5 Jim Cromie 2026-07-17  198  	case _DPRINTK_MODE_RATELIMIT_SHARED:
5431913f1c32e5 Jim Cromie 2026-07-17  199  		virt_flags |= _DPRINTK_FLAGS_PRINT | _DPRINTK_FLAGS_RATELIMIT_SHARED;
5431913f1c32e5 Jim Cromie 2026-07-17  200  		break;
5431913f1c32e5 Jim Cromie 2026-07-17 @201  	default:
5431913f1c32e5 Jim Cromie 2026-07-17  202  		break;
5431913f1c32e5 Jim Cromie 2026-07-17  203  	}
5431913f1c32e5 Jim Cromie 2026-07-17  204  	return virt_flags;
5431913f1c32e5 Jim Cromie 2026-07-17  205  }
5431913f1c32e5 Jim Cromie 2026-07-17  206  
5431913f1c32e5 Jim Cromie 2026-07-17  207  static inline unsigned int ddebug_virtual_to_physical(unsigned int virt_flags, unsigned int orig_phys_flags, unsigned int modifiers_flags)
5431913f1c32e5 Jim Cromie 2026-07-17  208  {
5431913f1c32e5 Jim Cromie 2026-07-17  209  	unsigned int phys_flags = virt_flags & ~(_DPRINTK_FLAGS_PRINT | _DPRINTK_FLAGS_COUNT |
5431913f1c32e5 Jim Cromie 2026-07-17  210  						 _DPRINTK_FLAGS_RATELIMIT_SOLO | _DPRINTK_FLAGS_RATELIMIT_SHARED |
5431913f1c32e5 Jim Cromie 2026-07-17  211  						 _DPRINTK_FLAGS_ONCE);
5431913f1c32e5 Jim Cromie 2026-07-17  212  	unsigned int mode = _DPRINTK_MODE_DISABLED;
5431913f1c32e5 Jim Cromie 2026-07-17  213  	bool virt_print = (virt_flags & _DPRINTK_FLAGS_PRINT) ||
5431913f1c32e5 Jim Cromie 2026-07-17  214  			  (modifiers_flags & (_DPRINTK_FLAGS_ONCE | _DPRINTK_FLAGS_RATELIMIT_SOLO | _DPRINTK_FLAGS_RATELIMIT_SHARED));
5431913f1c32e5 Jim Cromie 2026-07-17  215  
5431913f1c32e5 Jim Cromie 2026-07-17 @216  	if (virt_print) {
5431913f1c32e5 Jim Cromie 2026-07-17  217  		if (modifiers_flags & _DPRINTK_FLAGS_ONCE) {
5431913f1c32e5 Jim Cromie 2026-07-17  218  			mode = _DPRINTK_MODE_ONCE;
5431913f1c32e5 Jim Cromie 2026-07-17  219  		} else if (modifiers_flags & _DPRINTK_FLAGS_RATELIMIT_SOLO) {
5431913f1c32e5 Jim Cromie 2026-07-17  220  			mode = _DPRINTK_MODE_RATELIMIT_SOLO;
5431913f1c32e5 Jim Cromie 2026-07-17  221  		} else if (modifiers_flags & _DPRINTK_FLAGS_RATELIMIT_SHARED) {
5431913f1c32e5 Jim Cromie 2026-07-17  222  			mode = _DPRINTK_MODE_RATELIMIT_SHARED;
5431913f1c32e5 Jim Cromie 2026-07-17  223  		} else if (virt_flags & _DPRINTK_FLAGS_ONCE) {
5431913f1c32e5 Jim Cromie 2026-07-17  224  			unsigned int orig_mode = ddebug_get_mode(orig_phys_flags);
5431913f1c32e5 Jim Cromie 2026-07-17  225  			if (orig_mode == _DPRINTK_MODE_ONCE_FIRED)
5431913f1c32e5 Jim Cromie 2026-07-17  226  				mode = _DPRINTK_MODE_ONCE_FIRED;
5431913f1c32e5 Jim Cromie 2026-07-17  227  			else
5431913f1c32e5 Jim Cromie 2026-07-17  228  				mode = _DPRINTK_MODE_ONCE;
5431913f1c32e5 Jim Cromie 2026-07-17  229  		} else if (virt_flags & _DPRINTK_FLAGS_RATELIMIT_SOLO) {
5431913f1c32e5 Jim Cromie 2026-07-17  230  			mode = _DPRINTK_MODE_RATELIMIT_SOLO;
5431913f1c32e5 Jim Cromie 2026-07-17  231  		} else if (virt_flags & _DPRINTK_FLAGS_RATELIMIT_SHARED) {
5431913f1c32e5 Jim Cromie 2026-07-17  232  			mode = _DPRINTK_MODE_RATELIMIT_SHARED;
5431913f1c32e5 Jim Cromie 2026-07-17  233  		} else if (virt_flags & _DPRINTK_FLAGS_COUNT) {
5431913f1c32e5 Jim Cromie 2026-07-17  234  			mode = _DPRINTK_MODE_PRINT_COUNT;
5431913f1c32e5 Jim Cromie 2026-07-17  235  		} else {
5431913f1c32e5 Jim Cromie 2026-07-17  236  			mode = _DPRINTK_MODE_PRINT;
5431913f1c32e5 Jim Cromie 2026-07-17  237  		}
5431913f1c32e5 Jim Cromie 2026-07-17 @238  	} else {
5431913f1c32e5 Jim Cromie 2026-07-17  239  		if (virt_flags & _DPRINTK_FLAGS_COUNT)
5431913f1c32e5 Jim Cromie 2026-07-17  240  			mode = _DPRINTK_MODE_COUNT;
5431913f1c32e5 Jim Cromie 2026-07-17  241  		else
5431913f1c32e5 Jim Cromie 2026-07-17  242  			mode = _DPRINTK_MODE_DISABLED;
5431913f1c32e5 Jim Cromie 2026-07-17  243  	}
5431913f1c32e5 Jim Cromie 2026-07-17  244  
5431913f1c32e5 Jim Cromie 2026-07-17  245  	phys_flags |= mode;
5431913f1c32e5 Jim Cromie 2026-07-17  246  	return phys_flags;
5431913f1c32e5 Jim Cromie 2026-07-17  247  }
5431913f1c32e5 Jim Cromie 2026-07-17  248  

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.