diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-10-04 17:05:10 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-10-07 15:49:18 +0200 |
commit | 7da83f1bba0e4b70af2d292e099bec6092b37217 (patch) | |
tree | 0069d58ae6c4392597b9d9a5bbff815e6b6715d2 /drivers/rtc/rtc-armada38x.c | |
parent | cf79e7c3c9e9ea820d8795329fb888ec4e3ae4d0 (diff) | |
download | linux-7da83f1bba0e4b70af2d292e099bec6092b37217.tar.gz linux-7da83f1bba0e4b70af2d292e099bec6092b37217.tar.bz2 linux-7da83f1bba0e4b70af2d292e099bec6092b37217.zip |
rtc: da9063: Handle invalid IRQ from platform_get_irq_byname()
platform_get_irq_byname() might return -errno which later would be
cast to an unsigned int and used in request_irq().
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Link: https://lore.kernel.org/r/20191004150510.6278-1-krzk@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-armada38x.c')
0 files changed, 0 insertions, 0 deletions