Re: [PATCH -next] irqchip/tango: Fix potential NULL pointer dereference

2019-01-29 Thread YueHaibing
On 2019/1/29 20:20, Måns Rullgård wrote: > Marc Zyngier writes: > >> On Tue, 29 Jan 2019 08:01:22 +, >> YueHaibing wrote: >>> >>> There is a potential NULL pointer dereference in case kzalloc() >>> fails and returns NULL. >>> >>> Fixes: 4bba66899ac6 ("irqchip/tango: Add support for Sigma Des

Re: [PATCH -next] irqchip/tango: Fix potential NULL pointer dereference

2019-01-29 Thread Måns Rullgård
Marc Zyngier writes: > On Tue, 29 Jan 2019 08:01:22 +, > YueHaibing wrote: >> >> There is a potential NULL pointer dereference in case kzalloc() >> fails and returns NULL. >> >> Fixes: 4bba66899ac6 ("irqchip/tango: Add support for Sigma Designs >> SMP86xx/SMP87xx interrupt controller") >>

Re: [PATCH -next] irqchip/tango: Fix potential NULL pointer dereference

2019-01-29 Thread Marc Zyngier
On Tue, 29 Jan 2019 08:01:22 +, YueHaibing wrote: > > There is a potential NULL pointer dereference in case kzalloc() > fails and returns NULL. > > Fixes: 4bba66899ac6 ("irqchip/tango: Add support for Sigma Designs > SMP86xx/SMP87xx interrupt controller") > Signed-off-by: YueHaibing > ---