aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorJohn Johansen <[email protected]>2024-11-10 12:29:31 +0000
committerJohn Johansen <[email protected]>2024-11-27 03:21:06 +0000
commit04b5f0a5bfee5a5886dc19296c90d9a6964275e4 (patch)
tree0d6133af513aa2e3e63b293ae9bc46ca7638abb5 /drivers/platform/x86/intel/pmt/class.c
parentapparmor: replace misleading 'scrubbing environment' phrase in debug print (diff)
downloadkernel-04b5f0a5bfee5a5886dc19296c90d9a6964275e4.tar.gz
kernel-04b5f0a5bfee5a5886dc19296c90d9a6964275e4.zip
apparmor: lift new_profile declaration to remove C23 extension warning
the kernel test robot reports a C23 extension warning: label followed by a declaration is a C23 extension [-Wc23-extensions] 696 | struct aa_profile *new_profile = NULL; Instead of adding a null statement creating a C99 style inline var declaration lift the label declaration out of the block so that it no longer immediatedly follows the label. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: ee650b3820f3 ("apparmor: properly handle cx/px lookup failure for complain") Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions