serial: bcm2835: fix unsigned int issue with irq
authorMartin Sperl <kernel@martin.sperl.org>
Tue, 9 Feb 2016 11:47:16 +0000 (11:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 01:39:36 +0000 (17:39 -0800)
commite1a7d248279e375896cf53e9cb980032a84bf83e
tree5d3949e5c842dd522b842d99a74c8c762bf65dd2
parent0ab556c26690452fd66d8c95513fee201ceafbc0
serial: bcm2835: fix unsigned int issue with irq

Fixes error condition check when requesting the irq,
that would not trigger because of uart_port.irq being
defined as unsigned int.

Reported by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_bcm2835aux.c