diff options
author | Gerd Rausch <gerd.rausch@oracle.com> | 2019-07-17 01:29:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-17 22:06:52 +0300 |
commit | aea01a2234d26ffa9d9ee01e43705824c0c7b08a (patch) | |
tree | 9207a91ee47ffe0f34d883d55a49f12e71af4361 /net/rds/ib_frmr.c | |
parent | 5f33141d2fc05a2d2134ba0e7b47ce4aa88340f0 (diff) | |
download | linux-aea01a2234d26ffa9d9ee01e43705824c0c7b08a.tar.xz |
net/rds: Fix NULL/ERR_PTR inconsistency
Make function "rds_ib_try_reuse_ibmr" return NULL in case
memory region could not be allocated, since callers
simply check if the return value is not NULL.
Signed-off-by: Gerd Rausch <gerd.rausch@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/ib_frmr.c')
0 files changed, 0 insertions, 0 deletions