diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-10-11 10:49:24 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-14 20:47:07 -0400 |
commit | ea6ee93b4033089b6b22b693da3354359555dc69 (patch) | |
tree | 7722fa28e5daabc783fb09eb9576f6e1ae6fd6e8 /drivers/infiniband/sw/rxe/rxe_task.c | |
parent | 2caaa2335b3d3b3a750308baa8677454e5cf3ada (diff) | |
download | linux-ea6ee93b4033089b6b22b693da3354359555dc69.tar.gz linux-ea6ee93b4033089b6b22b693da3354359555dc69.tar.bz2 linux-ea6ee93b4033089b6b22b693da3354359555dc69.zip |
RDMA/rxe: 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: Leon Romanovsky <leonro@mellanox.com>
Cc: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_task.c')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_task.c b/drivers/infiniband/sw/rxe/rxe_task.c index ea3810b29273..08f05ac5f5d5 100644 --- a/drivers/infiniband/sw/rxe/rxe_task.c +++ b/drivers/infiniband/sw/rxe/rxe_task.c @@ -71,7 +71,7 @@ void rxe_do_task(unsigned long data) case TASK_STATE_BUSY: task->state = TASK_STATE_ARMED; - /* fall through to */ + /* fall through */ case TASK_STATE_ARMED: spin_unlock_irqrestore(&task->state_lock, flags); return; |