Re: [PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-17 Thread Marc Zyngier
On 17/01/17 10:17, Matt Redfearn wrote: > > > On 17/01/17 10:10, Arvind Yadav wrote: >> Hi Matt, >> >> Please Acknowledge this. >> >> Regards >> Arvind Yadav > > Hi Arvind, > > Acked-by: Matt Redfearn > > >> >> On Monday 09 January 2017 02:30 PM, Marc Zyngier

Re: [PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-17 Thread Marc Zyngier
On 17/01/17 10:17, Matt Redfearn wrote: > > > On 17/01/17 10:10, Arvind Yadav wrote: >> Hi Matt, >> >> Please Acknowledge this. >> >> Regards >> Arvind Yadav > > Hi Arvind, > > Acked-by: Matt Redfearn > > >> >> On Monday 09 January 2017 02:30 PM, Marc Zyngier wrote: >>> On 09/01/17 08:08,

Re: [PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-17 Thread Matt Redfearn
On 17/01/17 10:10, Arvind Yadav wrote: Hi Matt, Please Acknowledge this. Regards Arvind Yadav Hi Arvind, Acked-by: Matt Redfearn On Monday 09 January 2017 02:30 PM, Marc Zyngier wrote: On 09/01/17 08:08, Arvind Yadav wrote: Here, If ioremap_nocache will

Re: [PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-17 Thread Matt Redfearn
On 17/01/17 10:10, Arvind Yadav wrote: Hi Matt, Please Acknowledge this. Regards Arvind Yadav Hi Arvind, Acked-by: Matt Redfearn On Monday 09 January 2017 02:30 PM, Marc Zyngier wrote: On 09/01/17 08:08, Arvind Yadav wrote: Here, If ioremap_nocache will fail. It will return NULL.

Re: [PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-17 Thread Arvind Yadav
Hi Matt, Please Acknowledge this. Regards Arvind Yadav On Monday 09 January 2017 02:30 PM, Marc Zyngier wrote: On 09/01/17 08:08, Arvind Yadav wrote: Here, If ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL

Re: [PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-17 Thread Arvind Yadav
Hi Matt, Please Acknowledge this. Regards Arvind Yadav On Monday 09 January 2017 02:30 PM, Marc Zyngier wrote: On 09/01/17 08:08, Arvind Yadav wrote: Here, If ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL

Re: [PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-09 Thread Marc Zyngier
On 09/01/17 08:08, Arvind Yadav wrote: > Here, If ioremap_nocache will fail. It will return NULL. > Kernel can run into a NULL-pointer dereference. > This error check will avoid NULL pointer dereference. > > Signed-off-by: Arvind Yadav > --- >

Re: [PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-09 Thread Marc Zyngier
On 09/01/17 08:08, Arvind Yadav wrote: > Here, If ioremap_nocache will fail. It will return NULL. > Kernel can run into a NULL-pointer dereference. > This error check will avoid NULL pointer dereference. > > Signed-off-by: Arvind Yadav > --- > drivers/irqchip/irq-mips-gic.c | 2 ++ > 1 file

[PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-09 Thread Arvind Yadav
Here, If ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL pointer dereference. Signed-off-by: Arvind Yadav --- drivers/irqchip/irq-mips-gic.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v1] irqchip: irq-mips-gic:- Handle return NULL error from ioremap_nocache

2017-01-09 Thread Arvind Yadav
Here, If ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL pointer dereference. Signed-off-by: Arvind Yadav --- drivers/irqchip/irq-mips-gic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git