[PATCH 2/3] staging: irda: Handle return value of platform_get_irq

Greg KH gregkh at linuxfoundation.org
Thu Nov 30 16:41:24 UTC 2017


On Thu, Nov 30, 2017 at 09:13:35PM +0530, Arvind Yadav wrote:
> platform_get_irq() can fail here and we must check its return value.
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs at gmail.com>
> ---
>  drivers/staging/irda/drivers/pxaficp_ir.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)

Did you read drivers/staging/irda/TODO?

thanks,

greg k-h


More information about the devel mailing list