diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_mad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_mad.c b/drivers/infiniband/hw/ipath/ipath_mad.c index 3d1432d1e3f4..1978c346b5c5 100644 --- a/drivers/infiniband/hw/ipath/ipath_mad.c +++ b/drivers/infiniband/hw/ipath/ipath_mad.c | |||
@@ -1434,7 +1434,7 @@ static int process_subn(struct ib_device *ibdev, int mad_flags, | |||
1434 | * before checking for other consumers. | 1434 | * before checking for other consumers. |
1435 | * Just tell the caller to process it normally. | 1435 | * Just tell the caller to process it normally. |
1436 | */ | 1436 | */ |
1437 | ret = IB_MAD_RESULT_FAILURE; | 1437 | ret = IB_MAD_RESULT_SUCCESS; |
1438 | goto bail; | 1438 | goto bail; |
1439 | default: | 1439 | default: |
1440 | smp->status |= IB_SMP_UNSUP_METHOD; | 1440 | smp->status |= IB_SMP_UNSUP_METHOD; |
@@ -1516,7 +1516,7 @@ static int process_perf(struct ib_device *ibdev, u8 port_num, | |||
1516 | * before checking for other consumers. | 1516 | * before checking for other consumers. |
1517 | * Just tell the caller to process it normally. | 1517 | * Just tell the caller to process it normally. |
1518 | */ | 1518 | */ |
1519 | ret = IB_MAD_RESULT_FAILURE; | 1519 | ret = IB_MAD_RESULT_SUCCESS; |
1520 | goto bail; | 1520 | goto bail; |
1521 | default: | 1521 | default: |
1522 | pmp->status |= IB_SMP_UNSUP_METHOD; | 1522 | pmp->status |= IB_SMP_UNSUP_METHOD; |