summaryrefslogtreecommitdiff
path: root/fs/cifs/fscache.h
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-08-07 19:34:16 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-15 09:43:00 +0200
commitfdb52b4f48f12565e8985b13d88a0dce16adccd4 (patch)
treedf32a8dd0c0845c9fccc39c7b67abc16ff8b396e /fs/cifs/fscache.h
parent82e1e872273b584a6850365f4eaa0e3a72b4880d (diff)
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>
Diffstat (limited to 'fs/cifs/fscache.h')
0 files changed, 0 insertions, 0 deletions