diff options
author | 2021-09-10 17:33:24 +0800 | |
---|---|---|
committer | 2021-09-23 16:05:24 -0400 | |
commit | 458032fcfa91c8714859b1f01b9ac7dccea5d6cd (patch) | |
tree | b6930bdc43b392687db725917296b815fceb696f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NFSD: Optimize DRC bucket pruning (diff) | |
download | wireguard-linux-458032fcfa91c8714859b1f01b9ac7dccea5d6cd.tar.xz wireguard-linux-458032fcfa91c8714859b1f01b9ac7dccea5d6cd.zip |
UNRPC: Return specific error code on kmalloc failure
Although the callers of this function only care about whether the
return value is null or not, we should still give a rigorous
error code.
Smatch tool warning:
net/sunrpc/auth_gss/svcauth_gss.c:784 gss_write_verf() warn: returning
-1 instead of -ENOMEM is sloppy
No functional change, just more standardized.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions