diff options
author | Franck Demathieu <fdemathieu@gmail.com> | 2017-03-06 14:41:06 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-03-07 14:34:39 +0000 |
commit | 4b9de5da7e120c7f02395da729f0ec77ce7a6044 (patch) | |
tree | b16504a886d8f8814d859c6b4e991544e806d1a5 /arch | |
parent | 90922a2d03d84de36bf8a9979d62580102f31a92 (diff) | |
download | linux-4b9de5da7e120c7f02395da729f0ec77ce7a6044.tar.bz2 |
irqchip/crossbar: Fix incorrect type of register size
The 'size' variable is unsigned according to the dt-bindings.
As this variable is used as integer in other places, create a new variable
that allows to fix the following sparse issue (-Wtypesign):
drivers/irqchip/irq-crossbar.c:279:52: warning: incorrect type in argument 3 (different signedness)
drivers/irqchip/irq-crossbar.c:279:52: expected unsigned int [usertype] *out_value
drivers/irqchip/irq-crossbar.c:279:52: got int *<noident>
Signed-off-by: Franck Demathieu <fdemathieu@gmail.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions