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

From: arvindY
Date: Thu Nov 30 2017 - 11:45:49 EST


Hi Greg,

On Thursday 30 November 2017 10:11 PM, Greg KH wrote:
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?
Sorry, Now I have read it. :(

thanks,

greg k-h
Thanks,
~arvind