diff options
| author | Arnd Bergmann <[email protected]> | 2014-10-13 15:53:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-10-14 02:18:19 +0200 |
| commit | 3ff38237f183ecd8a190318e0046138b92ee5e35 (patch) | |
| tree | d07c9e7c8078fb36f6c5c6e2fcc572e57ce14ee7 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | e698a51239f26c370247d759da9ea016f5841fc3 (diff) | |
drivers/rtc/rtc-pcf8563.c: fix pcf8563_irq() error return value
As pointed out by Sergei Shtylyov, the pcf8563_irq function contains a
bug in the error handling: an interrupt handler is not supposed to
return an errno value but an 'enum irqreturn'.
Let's fix this by returning IRQ_NONE in case of a communication error.
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Sergei Shtylyov <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions