summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-02-28 15:37:14 -0600
committerThomas Gleixner <tglx@linutronix.de>2019-03-23 12:32:01 +0100
commit93417a3fda2060f2a34e3341904024c5b6980d1f (patch)
tree1efe77ea33c7918b5917955038a9a0c5f757addc /fs/exec.c
parentbb2e320565f997273fe04035bb6c17f643da6f8a (diff)
genirq: Mark expected switch case fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. With -Wimplicit-fallthrough added to CFLAGS: kernel/irq/manage.c: In function ‘irq_do_set_affinity’: kernel/irq/manage.c:198:3: warning: this statement may fall through [-Wimplicit-fallthrough=] cpumask_copy(desc->irq_common_data.affinity, mask); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kernel/irq/manage.c:199:2: note: here case IRQ_SET_MASK_OK_NOCOPY: ^~~~ Annotate it. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Kees Cook <keescook@chromium.org> Link: https://lkml.kernel.org/r/20190228213714.GA9246@embeddedor
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions