]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff89306304d517558bd729c426a38310e46271cd
tree5d3949e5c842dd522b842d99a74c8c762bf65dd2
parenta8e513cff3387b5c97b48b8da8a65deaa58e6cd0
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