diff options
| author | Wei Yongjun <[email protected]> | 2016-06-14 00:26:49 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2016-06-15 18:26:41 +0000 |
| commit | f52a4c74efbb61195490535e9d65d964c4ebfee3 (patch) | |
| tree | c10ce11ac682d4f76858c3b1a4f95070adc82682 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | Merge branch 'for-4.7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-f52a4c74efbb61195490535e9d65d964c4ebfee3.tar.gz kernel-f52a4c74efbb61195490535e9d65d964c4ebfee3.zip | |
ata: fix return value check in ahci_seattle_get_port_info()
In case of error, the function devm_kzalloc() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should
be replaced with NULL test.
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Brijesh Singh <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
