diff options
author | Prarit Bhargava <[email protected]> | 2014-01-13 08:40:20 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-01-13 15:08:37 +0100 |
commit | c7a730fa4624092e2d1c0cb7b750816e87c32364 (patch) | |
tree | 2e9fab2c55f037b86701fb019b44842099d0566e /net/lapb/lapb_subr.c | |
parent | 9345005f4eed805308193658d12e4e7e9c261e74 (diff) |
x86/irq: Fix kbuild warning in smp_irq_move_cleanup_interrupt()
Fengguang Wu's 0day kernel build service reported the following build warning:
arch/x86/kernel/apic/io_apic.c:2211
smp_irq_move_cleanup_interrupt() warn: always true condition '(irq <= -1) => (0-u32max <= (-1))'
because irq is defined as an unsigned int instead of an int.
Fix this trivial error by redefining irq as a signed int. The
remaining consumers of the int are okay.
Signed-off-by: Prarit Bhargava <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Fengguang Wu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions