IB/qib: Suppress gcc 7 fall-through complaints
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:49:21 +0000 (10:49 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 15 Oct 2017 00:47:07 +0000 (20:47 -0400)
commit658115b0909c48ab0228f4a0894ce3c0d98ca397
tree9867824546efd833ee9b41ffc4c99acabc7ca9b9
parent66392615dcf92558d5f5b17d01aa5ffa212d8959
IB/qib: Suppress gcc 7 fall-through complaints

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>
Acked-by: Mike Marciniszyn <infinipath@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_mad.c
drivers/infiniband/hw/qib/qib_rc.c
drivers/infiniband/hw/qib/qib_sdma.c