]> git.baikalelectronics.ru Git - kernel.git/commit
target: Suppress gcc 7 fallthrough warnings
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 31 Oct 2017 18:03:10 +0000 (11:03 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 4 Nov 2017 22:15:35 +0000 (15:15 -0700)
commit5755abc2090dcd2a866f1922a52a6b2a0a862c30
treeb094dd636ef804f5a5c84fb7d6b70ceeff75ccb4
parentd2b1cf1547d8aa79e1782afd03b5a2b22a8945bf
target: Suppress gcc 7 fallthrough warnings

Avoid that gcc 7 reports the following warning when building with W=1:

warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Varun Prakash <varun@chelsio.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/cxgbit/cxgbit_main.c
drivers/target/target_core_pr.c
drivers/target/target_core_transport.c