Re: [RFT] rtc: da9063: Handle invalid IRQ from platform_get_irq_byname()

2019-10-07 Thread Alexandre Belloni
On 04/10/2019 17:05:10+0200, Krzysztof Kozlowski wrote: > 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 > > --- > > Not marking as cc-stable as this was not reproduced and not tested

RE: [RFT] rtc: da9063: Handle invalid IRQ from platform_get_irq_byname()

2019-10-07 Thread Adam Thomson
On 04 October 2019 16:05, Krzysztof Kozlowski wrote: > 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 This doesn't break the existing RTC functionality when running up on my test boar

[RFT] rtc: da9063: Handle invalid IRQ from platform_get_irq_byname()

2019-10-04 Thread Krzysztof Kozlowski
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 --- Not marking as cc-stable as this was not reproduced and not tested. --- drivers/rtc/rtc-da9063.c | 3 +++ 1 file changed, 3 insertions(+)