Messages in this thread | | | From | Rob Herring <> | Date | Thu, 2 May 2019 16:41:34 -0500 | Subject | Re: [PATCH] of: unittest: Remove error printing on OOM |
| |
On Thu, May 2, 2019 at 7:45 AM Geert Uytterhoeven <geert+renesas@glider.be> 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 <geert+renesas@glider.be> > --- > drivers/of/unittest.c | 13 ++++--------- > 1 file changed, 4 insertions(+), 9 deletions(-)
Applied both patches.
Rob
| |