diff options
| author | Pavel Fedin <[email protected]> | 2015-09-13 12:14:33 +0100 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-09-15 17:06:29 +0200 |
| commit | 157add60cb35913b8a848a3d7e6456b8ed134796 (patch) | |
| tree | 819464c7e43d39e00c6a778d579468eb9c96897b /drivers/gpu/drm/amd/amdgpu/amdgpu_semaphore.c | |
| parent | 5a9a8915c8888b615521b17d70a4342187eae60b (diff) | |
irqchip/GICv2m: Fix GICv2m build warning on 32 bits
After GICv2m was enabled for 32-bit ARM kernel, a warning popped up:
drivers/irqchip/irq-gic-v2m.c: In function gicv2m_compose_msi_msg:
drivers/irqchip/irq-gic-v2m.c:100:2: warning: right shift count >= width
of type [enabled by default]
msg->address_hi = (u32) (addr >> 32);
^
This patch fixes it by using proper macros for splitting up the value.
Signed-off-by: Pavel Fedin <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Cc: [email protected]
Cc: Stuart Yoder <[email protected]>
Cc: Jason Cooper <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_semaphore.c')
0 files changed, 0 insertions, 0 deletions