Re: [PATCH 1/3] pcmcia: m32r_pcc: check return from request_irq

From: Sudip Mukherjee
Date: Sun Nov 13 2016 - 16:27:32 EST


On Sunday 18 September 2016 11:21 PM, Sudip Mukherjee wrote:
While building m32r allmodconfig we were getting warning:

drivers/pcmcia/m32r_pcc.c:331:2:
warning: ignoring return value of 'request_irq',
declared with attribute warn_unused_result

request_irq() can fail and we should always be checking the result from
it. Check the result and return it to the caller.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@xxxxxxxxxxxxxxx>
---

Hi Andrew,

A gentle ping.

Regards
Sudip