Re: [PATCH] init/main.c: check for null pointer before calling initcall

2017-10-27 Thread Thomas Gleixner
On Fri, 27 Oct 2017, Abderrahmane Benbachir wrote: > David Daney a écrit : > > > On 10/27/2017 11:22 AM, Thomas Gleixner wrote: > > > On Fri, 27 Oct 2017, David Daney wrote: > > > > > > > On 10/27/2017 09:47 AM, Abderrahmane Benbachir wrote: > > > > > Simple check to prevent kernel panic when in

Re: [PATCH] init/main.c: check for null pointer before calling initcall

2017-10-27 Thread David Daney
On 10/27/2017 11:53 AM, Abderrahmane Benbachir wrote: David Daney a écrit : On 10/27/2017 11:22 AM, Thomas Gleixner wrote: On Fri, 27 Oct 2017, David Daney wrote: On 10/27/2017 09:47 AM, Abderrahmane Benbachir wrote: Simple check to prevent kernel panic when initcall does not exit Inter

Re: [PATCH] init/main.c: check for null pointer before calling initcall

2017-10-27 Thread Abderrahmane Benbachir
David Daney a écrit : On 10/27/2017 11:22 AM, Thomas Gleixner wrote: On Fri, 27 Oct 2017, David Daney wrote: On 10/27/2017 09:47 AM, Abderrahmane Benbachir wrote: Simple check to prevent kernel panic when initcall does not exit Interesting, under what circumstances do you observe the pan

Re: [PATCH] init/main.c: check for null pointer before calling initcall

2017-10-27 Thread David Daney
On 10/27/2017 11:22 AM, Thomas Gleixner wrote: On Fri, 27 Oct 2017, David Daney wrote: On 10/27/2017 09:47 AM, Abderrahmane Benbachir wrote: Simple check to prevent kernel panic when initcall does not exit Interesting, under what circumstances do you observe the panic? It would be best to i

Re: [PATCH] init/main.c: check for null pointer before calling initcall

2017-10-27 Thread Thomas Gleixner
On Fri, 27 Oct 2017, David Daney wrote: > On 10/27/2017 09:47 AM, Abderrahmane Benbachir wrote: > > Simple check to prevent kernel panic when initcall does not exit > > Interesting, under what circumstances do you observe the panic? > > It would be best to include this information in the patch c

Re: [PATCH] init/main.c: check for null pointer before calling initcall

2017-10-27 Thread David Daney
On 10/27/2017 09:47 AM, Abderrahmane Benbachir wrote: Simple check to prevent kernel panic when initcall does not exit Interesting, under what circumstances do you observe the panic? It would be best to include this information in the patch changelog. Signed-off-by: Abderrahmane Benbachir

[PATCH] init/main.c: check for null pointer before calling initcall

2017-10-27 Thread Abderrahmane Benbachir
Simple check to prevent kernel panic when initcall does not exit Signed-off-by: Abderrahmane Benbachir --- init/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/main.c b/init/main.c index 0ee9c6866ada..220fd2822b61 100644 --- a/init/main.c +++ b/init/main.c @@ -817,6 +817,9 @@