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

From: Rob Herring
Date: Thu May 02 2019 - 17:42:21 EST


On Thu, May 2, 2019 at 7:45 AM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> 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@xxxxxxxxx>
> ---
> drivers/of/unittest.c | 13 ++++---------
> 1 file changed, 4 insertions(+), 9 deletions(-)

Applied both patches.

Rob