Messages in this thread |  | | Date | Sun, 24 Apr 2022 12:46:23 +0200 | Subject | Re: [PATCH v2] NFC: nfcmrvl: fix error check return value of irq_of_parse_and_map() | From | Krzysztof Kozlowski <> |
| |
On 24/04/2022 04:57, cgel.zte@gmail.com wrote: > From: Lv Ruyi <lv.ruyi@zte.com.cn> > > The irq_of_parse_and_map() function returns 0 on failure, and does not > return an negative value. > > Fixes: b5b3e23e4cac ("NFC: nfcmrvl: add i2c driver") > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn> > --- > v2: don't print ret, and return -EINVAL rather than 0 > --- > drivers/nfc/nfcmrvl/i2c.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-)
How about Jakub's idea of squashing here fix for SPI (correcting my patch) with additional Fixes tag?
Fixes: caf6e49bf6d0 ("NFC: nfcmrvl: add spi driver")
Best regards, Krzysztof
|  |