[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_JsqKrjmE9_huT-ViKhCo1mFbHka6reVKzo9Z1qJL0u3x2-g@mail.gmail.com>
Date: Thu, 2 May 2019 16:41:34 -0500
From: Rob Herring <robh+dt@...nel.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Frank Rowand <frowand.list@...il.com>, devicetree@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] of: unittest: Remove error printing on OOM
On Thu, May 2, 2019 at 7:45 AM Geert Uytterhoeven
<geert+renesas@...der.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@...der.be>
> ---
> drivers/of/unittest.c | 13 ++++---------
> 1 file changed, 4 insertions(+), 9 deletions(-)
Applied both patches.
Rob
Powered by blists - more mailing lists