diff options
| author | Takashi Iwai <[email protected]> | 2015-09-09 14:52:09 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2015-09-10 07:32:48 +0000 |
| commit | 982b0b2dd590c00f089fc6fe915bd0cb302a7f5c (patch) | |
| tree | d29dd8b0f7698cd9dddea73b261dd14aba81d61d /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | drm/i915: Limit the number of loops for reading a split 64bit register (diff) | |
| download | kernel-982b0b2dd590c00f089fc6fe915bd0cb302a7f5c.tar.gz kernel-982b0b2dd590c00f089fc6fe915bd0cb302a7f5c.zip | |
drm/i915: Fix CSR MMIO address check
Fix a wrong logical AND (&&) used for the range check of CSR MMIO.
Spotted nicely by gcc -Wlogical-op flag:
drivers/gpu/drm/i915/intel_csr.c: In function ‘finish_csr_load’:
drivers/gpu/drm/i915/intel_csr.c:353:41: warning: logical ‘and’ of mutually exclusive tests is always false [-Wlogical-op]
Fixes: eb805623d8b1 ('drm/i915/skl: Add support to load SKL CSR firmware.')
Cc: <[email protected]> # v4.2
Signed-off-by: Takashi Iwai <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Animesh Manna <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
