Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 401c6ae3 authored by Bart Van Assche's avatar Bart Van Assche Committed by Doug Ledford
Browse files

IB/cm: 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: default avatarBart Van Assche <bart.vanassche@wdc.com>
Acked-by: default avatarSean Hefty <sean.hefty@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 1c3aea2b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2808,6 +2808,7 @@ int ib_send_cm_mra(struct ib_cm_id *cm_id,
			msg_response = CM_MSG_RESPONSE_OTHER;
			break;
		}
		/* fall through */
	default:
		ret = -EINVAL;
		goto error1;