diff options
| author | Wei Yongjun <[email protected]> | 2017-10-17 12:11:03 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2017-10-20 23:02:46 +0000 |
| commit | b3c433efb8a3d347ddc39b95606a6e7732e97649 (patch) | |
| tree | 79c7241024e7b00f0313605452c69d801d22af06 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | Linux 4.14-rc3 (diff) | |
| download | kernel-b3c433efb8a3d347ddc39b95606a6e7732e97649.tar.gz kernel-b3c433efb8a3d347ddc39b95606a6e7732e97649.zip | |
PCI: faraday: Fix wrong pointer passed to PTR_ERR()
PTR_ERR should access the value just tested by IS_ERR, otherwise the wrong
error code will be returned.
Fixes: 2eeb02b28579 ("PCI: faraday: Add clock handling")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
