Skip to contentSkip to conversation

linux-next: build warning after merge of the apparmor tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 23, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi John,

After merging the apparmor tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

security/apparmor/policy_unpack.c: In function 'unpack_dfa':
security/apparmor/policy_unpack.c:426:1: warning: label 'fail' defined but not used [-Wunused-label]
fail:
^~~~

Introduced by commit

fb5841091f28 ("apparmor: remove no-op permission check in policy_unpack")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi John,

After merging the apparmor tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

Quoted 9 lines

security/apparmor/policy_unpack.c: In function 'unpack_dfa':
security/apparmor/policy_unpack.c:426:1: warning: label 'fail' defined but not used [-Wunused-label]
fail:
^~~~

Introduced by commit

fb5841091f28 ("apparmor: remove no-op permission check in policy_unpack")

sorry
fixed