aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2018-10-10 08:08:20 -0700
committerChristoph Hellwig <[email protected]>2018-10-17 08:58:31 +0200
commit1216e9ef18b84f4fb5934792368fb01eb3540520 (patch)
tree7dd3f897b8f7f9e028a5c1177e8dff0fee49e2a6 /lib/memory-notifier-error-inject.c
parent202359c007f6b1d6247a062c0682d6d5bcd3e7d7 (diff)
nvmet-fcloop: suppress a compiler warning
Building with W=1 enables the compiler warning -Wimplicit-fallthrough=3. That option does not recognize the fall-through comment in the fcloop driver. Add a fall-through comment that is recognized for -Wimplicit-fallthrough=3. This patch avoids that the compiler reports the following warning when building with W=1: drivers/nvme/target/fcloop.c:647:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (op == NVMET_FCOP_READDATA) ^ Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions