diff options
| author | Dan Carpenter <[email protected]> | 2023-10-11 08:00:22 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2023-11-01 19:40:44 +0000 |
| commit | 4f3ed837186fc0d2722ba8d2457a594322e9c2ef (patch) | |
| tree | 79fe46c5756c43503914377211e4fea0173f6362 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking (diff) | |
| download | kernel-4f3ed837186fc0d2722ba8d2457a594322e9c2ef.tar.gz kernel-4f3ed837186fc0d2722ba8d2457a594322e9c2ef.zip | |
SUNRPC: Add an IS_ERR() check back to where it was
This IS_ERR() check was deleted during in a cleanup because, at the time,
the rpcb_call_async() function could not return an error pointer. That
changed in commit 25cf32ad5dba ("SUNRPC: Handle allocation failure in
rpc_new_task()") and now it can return an error pointer. Put the check
back.
A related revert was done in commit 13bd90141804 ("Revert "SUNRPC:
Remove unreachable error condition"").
Fixes: 037e910b52b0 ("SUNRPC: Remove unreachable error condition in rpcb_getport_async()")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
