diff options
| author | Colin Ian King <[email protected]> | 2017-05-17 18:24:15 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2017-06-21 00:11:35 +0000 |
| commit | ecf3411a121e7a653e309ff50a820ffa87c537f8 (patch) | |
| tree | c76212d915c9751d44386dcbb47c78bb182a35fb /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | CIFS: Set ->should_dirty in cifs_user_readv() (diff) | |
| download | kernel-ecf3411a121e7a653e309ff50a820ffa87c537f8.tar.gz kernel-ecf3411a121e7a653e309ff50a820ffa87c537f8.zip | |
CIFS: check if pages is null rather than bv for a failed allocation
pages is being allocated however a null check on bv is being used
to see if the allocation failed. Fix this by checking if pages is
null.
Detected by CoverityScan, CID#1432974 ("Logically dead code")
Fixes: ccf7f4088af2dd ("CIFS: Add asynchronous context to support kernel AIO")
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
