diff options
| author | Wei Yongjun <[email protected]> | 2020-07-29 15:58:49 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2020-07-30 08:20:48 +0000 |
| commit | 5b6570bbb26f1dfad5663d99351820865e8c5c7e (patch) | |
| tree | 0574b73d296e32d6fef1a28774edd9fb019019e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | irqchip/imx-intmux: Implement intmux runtime power management (diff) | |
| download | kernel-5b6570bbb26f1dfad5663d99351820865e8c5c7e.tar.gz kernel-5b6570bbb26f1dfad5663d99351820865e8c5c7e.zip | |
irqchip/imx-intmux: Fix irqdata regs save in imx_intmux_runtime_suspend()
Gcc report warning as follows:
drivers/irqchip/irq-imx-intmux.c:316:29: warning:
variable 'irqchip_data' set but not used [-Wunused-but-set-variable]
316 | struct intmux_irqchip_data irqchip_data;
| ^~~~~~~~~~~~
irqdata regs is stored to this variable on the stack in
imx_intmux_runtime_suspend(), which means a nop. this commit
fix to save regs to the right place.
Fixes: bb403111e017 ("irqchip/imx-intmux: Implement intmux runtime power management")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
