aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-03-22 12:00:08 +0100
committerJohn Johansen <[email protected]>2021-11-03 00:46:12 -0700
commitc75ea024094e7307219a4f9c706dad5ea461509a (patch)
tree01aa0a6ed990216125895afcfbaddb449a5fe038 /lib/netdev-notifier-error-inject.c
parentdc155617fa5bf5bddbeb99dc781dd011ed23b90f (diff)
apparmor: avoid -Wempty-body warning
Building with 'make W=1' shows a warning for an empty macro: security/apparmor/label.c: In function '__label_update': security/apparmor/label.c:2096:59: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body] 2096 | AA_BUG(labels_ns(label) != labels_ns(new)); Change the macro definition to use no_printk(), which improves format string checking and avoids the warning. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions