Re: [PATCH] of: unittest: Remove error printing on OOM

2019-05-02 Thread Rob Herring
On Thu, May 2, 2019 at 7:45 AM Geert Uytterhoeven wrote: > > There is no need to print a backtrace or other error message if > kzalloc(), kmemdup(), or devm_kzalloc() fails, as the memory allocation > core already takes care of that. > > Signed-off-by: Geert Uytterhoeven > --- >

[PATCH] of: unittest: Remove error printing on OOM

2019-05-02 Thread Geert Uytterhoeven
There is no need to print a backtrace or other error message if kzalloc(), kmemdup(), or devm_kzalloc() fails, as the memory allocation core already takes care of that. Signed-off-by: Geert Uytterhoeven --- drivers/of/unittest.c | 13 - 1 file changed, 4 insertions(+), 9