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

From: Greg KH
Date: Thu Nov 30 2017 - 11:41:22 EST


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@xxxxxxxxx>
> ---
> drivers/staging/irda/drivers/pxaficp_ir.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)

Did you read drivers/staging/irda/TODO?

thanks,

greg k-h