]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/i40iw: Suppress gcc 7 fall-through complaints
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:49:03 +0000 (10:49 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 15 Oct 2017 00:47:06 +0000 (20:47 -0400)
commitad4d63401008ea9ac6c5b1613d86c756c6ab9a2a
tree26bd43af680a5578b8fe1449b438856e882eb956
parentb965b51c55c5a21d65ca36592c6048ea60c3ace9
RDMA/i40iw: 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>
Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_cm.c
drivers/infiniband/hw/i40iw/i40iw_hw.c
drivers/infiniband/hw/i40iw/i40iw_puda.c