YueHaibing
9b3fa26f00
RDS: IB: fix 'passing zero to ERR_PTR()' warning
...
[ Upstream commit 5941923da29e84bc9e2a1abb2c14fffaf8d71e2f ]
Fix a static code checker warning:
net/rds/ib_frmr.c:82 rds_ib_alloc_frmr() warn: passing zero to 'ERR_PTR'
The error path for ib_alloc_mr failure should set err to PTR_ERR.
Fixes: 1659185fb4d0 ("RDS: IB: Support Fastreg MR (FRMR) memory registration mode")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-15 09:45:31 +02:00
..
2017-11-02 11:10:55 +01:00
2018-09-15 09:45:29 +02:00
2017-11-02 11:10:55 +01:00
2018-07-22 14:28:44 +02:00
2017-11-02 11:10:55 +01:00
2018-07-22 14:28:43 +02:00
2017-11-02 11:10:55 +01:00
2018-08-24 13:09:05 +02:00
2018-08-22 07:46:11 +02:00
2018-07-22 14:28:49 +02:00
2018-09-05 09:26:27 +02:00
2018-01-23 19:58:17 +01:00
2018-05-30 07:52:04 +02:00
2018-09-05 09:26:30 +02:00
2017-08-09 16:57:38 -07:00
2018-08-22 07:46:08 +02:00
2018-02-25 11:07:52 +01:00
2018-07-22 14:28:49 +02:00
2018-08-06 16:20:48 +02:00
2017-08-22 13:40:23 -07:00
2018-09-09 19:55:52 +02:00
2018-04-29 11:33:13 +02:00
2018-09-15 09:45:29 +02:00
2018-09-15 09:45:28 +02:00
2017-11-02 11:10:55 +01:00
2018-03-31 18:10:41 +02:00
2018-06-11 22:49:19 +02:00
2018-06-16 09:45:14 +02:00
2018-08-22 07:46:08 +02:00
2018-08-22 07:46:08 +02:00
2018-09-05 09:26:23 +02:00
2018-09-09 19:55:52 +02:00
2018-02-22 15:42:28 +01:00
2017-10-21 01:56:38 +01:00
2018-09-15 09:45:28 +02:00
2018-05-30 07:52:40 +02:00
2018-08-09 12:16:38 +02:00
2018-07-22 14:28:49 +02:00
2018-07-22 14:28:49 +02:00
2018-05-19 10:20:24 +02:00
2018-08-24 13:09:22 +02:00
2017-11-02 11:10:55 +01:00
2017-11-01 12:19:03 +09:00
2018-08-24 13:09:13 +02:00
2018-09-15 09:45:31 +02:00
2018-05-16 10:10:26 +02:00
2018-08-06 16:20:48 +02:00
2018-09-15 09:45:26 +02:00
2018-09-15 09:45:25 +02:00
2018-08-24 13:09:22 +02:00
2018-07-22 14:28:47 +02:00
2018-09-15 09:45:26 +02:00
2017-08-07 14:48:48 -07:00
2018-09-15 09:45:25 +02:00
2018-09-15 09:45:29 +02:00
2017-11-02 10:04:46 -07:00
2018-08-22 07:46:08 +02:00
2017-11-02 11:10:55 +01:00
2018-09-05 09:26:24 +02:00
2017-11-02 11:10:55 +01:00
2018-09-05 09:26:23 +02:00
2018-05-19 10:20:24 +02:00
2017-09-04 13:25:20 +02:00
2017-11-02 11:10:55 +01:00
2018-08-06 16:20:48 +02:00