Yang Li 458032fcfa 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>
2021-09-23 16:05:24 -04:00
..
2021-09-04 10:25:26 -07:00
2020-03-16 12:04:33 -04:00
2021-07-08 14:03:23 -04:00
2021-09-08 15:55:42 -07:00
2021-09-04 10:25:26 -07:00
2021-08-10 14:18:35 -04:00
2021-09-04 10:25:26 -07:00
2021-09-04 10:25:26 -07:00