aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2014-11-14 22:16:42 +0000
committerJason Cooper <[email protected]>2014-11-26 06:28:42 +0000
commitd99ba4465a08138966083d6c256b2f66e85a5095 (patch)
tree5cd8b1c5964675179bb487c26cb4b50f06e868cd /drivers/tty/serial/sccnxp.c
parentirqchip: bcm7120-l2: Fix error handling of irq_of_parse_and_map (diff)
downloadkernel-d99ba4465a08138966083d6c256b2f66e85a5095.tar.gz
kernel-d99ba4465a08138966083d6c256b2f66e85a5095.zip
irqchip: brcmstb-l2: Fix error handling of irq_of_parse_and_map
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov <[email protected]> Acked-by: Florian Fainelli <[email protected]> Tested-by: Kevin Cernekee <[email protected]> Link: https://lkml.kernel.org/r/20141114221642.GA37468@dtor-ws Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions