diff options
| author | Dan Carpenter <[email protected]> | 2016-10-14 07:26:21 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2016-10-14 12:26:55 +0000 |
| commit | d102eb5c1ac5e6743b1c6d145c06a25d98ad1375 (patch) | |
| tree | 7111caa1a11abf401e3d60d9a6ef0463c67481d7 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | irqchip/jcore: Fix lost per-cpu interrupts (diff) | |
| download | kernel-d102eb5c1ac5e6743b1c6d145c06a25d98ad1375.tar.gz kernel-d102eb5c1ac5e6743b1c6d145c06a25d98ad1375.zip | |
irqchip/gicv3: Handle loop timeout proper
The timeout loop terminates when the loop count is zero, but the decrement
of the count variable is post check. So count is -1 when we check for the
timeout and therefor the error message is supressed.
Change it to predecrement, so the error message is emitted.
[ tglx: Massaged changelog ]
Fixes: a2c225101234 ("irqchip: gic-v3: Refactor gic_enable_redist to support both enabling and disabling")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Sudeep Holla <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: [email protected]
Cc: Jason Cooper <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20161014072534.GA15168@mwanda
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
