On Thu, Nov 30, 2017 at 09:13:35PM +0530, Arvind Yadav wrote:Sorry, Now I have read it. :(
platform_get_irq() can fail here and we must check its return value.Did you read drivers/staging/irda/TODO?
Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
---
drivers/staging/irda/drivers/pxaficp_ir.c | 10 ++++++++++
1 file changed, 10 insertions(+)
Thanks,
thanks,
greg k-h