IB/qib: Fix failure of compliance test C14-024#06_LocalPortNum
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Wed, 12 Sep 2012 13:01:29 +0000 (13:01 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 14 Sep 2012 17:42:32 +0000 (10:42 -0700)
commit4c3550057b83bde3250b2f105c7f56326fb43044
treef2b6336daf162a7e2771fddf45dfcca55a6ac4b7
parentfea7a08acb13524b47711625eebea40a0ede69a0
IB/qib: Fix failure of compliance test C14-024#06_LocalPortNum

Commit 3236b2d469db ("IB/qib: MADs with misset M_Keys should return
failure") introduced a return code assignment that unfortunately
introduced an unconditional exit for the routine due to missing braces.

This patch adds the braces to correct the original patch.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_mad.c