Re: Re: [PATCH] devfreq: correctly check failed allocation

2015-10-21 Thread MyungJoo Ham
>On Mon, Oct 19, 2015 at 8:49 PM, MyungJoo Ham wrote: > >>Since devm_kzalloc can be failed in memory pressure, > >check return value and handle error. > > > >Signed-off-by: Insu Yun > >--- >> drivers/devfreq/devfreq.c | 14 ++ > > 1 file changed, 14 insertions(+) > > > >diff --git

Re: Re: [PATCH] devfreq: correctly check failed allocation

2015-10-21 Thread MyungJoo Ham
>On Mon, Oct 19, 2015 at 8:49 PM, MyungJoo Ham wrote: > >>Since devm_kzalloc can be failed in memory pressure, > >check return value and handle error. > > > >Signed-off-by: Insu Yun > >--- >> drivers/devfreq/devfreq.c | 14 ++ > > 1 file

Re: [PATCH] devfreq: correctly check failed allocation

2015-10-19 Thread MyungJoo Ham
>Since devm_kzalloc can be failed in memory pressure, >check return value and handle error. > >Signed-off-by: Insu Yun >--- > drivers/devfreq/devfreq.c | 14 ++ > 1 file changed, 14 insertions(+) > >diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c >index

[PATCH] devfreq: correctly check failed allocation

2015-10-19 Thread Insu Yun
Since devm_kzalloc can be failed in memory pressure, check return value and handle error. Signed-off-by: Insu Yun --- drivers/devfreq/devfreq.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index ca1b362..814089f 100644

[PATCH] devfreq: correctly check failed allocation

2015-10-19 Thread Insu Yun
Since devm_kzalloc can be failed in memory pressure, check return value and handle error. Signed-off-by: Insu Yun --- drivers/devfreq/devfreq.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index

Re: [PATCH] devfreq: correctly check failed allocation

2015-10-19 Thread MyungJoo Ham
>Since devm_kzalloc can be failed in memory pressure, >check return value and handle error. > >Signed-off-by: Insu Yun >--- > drivers/devfreq/devfreq.c | 14 ++ > 1 file changed, 14 insertions(+) > >diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c