Re: [PATCH] irqchip/tango: Add NULL check after memory operation

2019-07-22 Thread Måns Rullgård
Hariprasad Kelam writes: > Add NULL check after kzalloc operation. > > Fix below issue reported by coccicheck > ./drivers/irqchip/irq-tango.c:189:1-5: alloc with no test, possible > model on line 193 > > Signed-off-by: Hariprasad Kelam > --- > drivers/irqchip/irq-tango.c | 2 ++ > 1 file change

[PATCH] irqchip/tango: Add NULL check after memory operation

2019-07-21 Thread Hariprasad Kelam
Add NULL check after kzalloc operation. Fix below issue reported by coccicheck ./drivers/irqchip/irq-tango.c:189:1-5: alloc with no test, possible model on line 193 Signed-off-by: Hariprasad Kelam --- drivers/irqchip/irq-tango.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/irqc