summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.asm-generic
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-09-20 23:53:46 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2017-10-02 00:51:30 +0200
commitcdb2e53fd6dc715c5b45d0967fcb6dc574cb28f8 (patch)
tree79c51cee65b7d0aca3c20d90c80e5cf474add959 /scripts/Makefile.asm-generic
parentnfs: RPC_MAX_AUTH_SIZE is in bytes (diff)
downloadlinux-cdb2e53fd6dc715c5b45d0967fcb6dc574cb28f8.tar.xz
linux-cdb2e53fd6dc715c5b45d0967fcb6dc574cb28f8.zip
NFS: Cleanup error handling in nfs_idmap_request_key()
nfs_idmap_get_desc() can't actually return zero. But if it did then we would return ERR_PTR(0) which is NULL and the caller, nfs_idmap_get_key(), doesn't expect that so it leads to a NULL pointer dereference. I've cleaned this up by changing the "<=" to "<" so it's more clear that we don't return ERR_PTR(0). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'scripts/Makefile.asm-generic')
0 files changed, 0 insertions, 0 deletions