[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdWxM49PiAeoz1R=FnPEEmwMimbkXBuO-N2mF6pRzHummA@mail.gmail.com>
Date: Fri, 14 Jun 2024 09:02:12 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Uwe Kleine-König <ukleinek@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>,
"Rafael J. Wysocki" <rafael@...nel.org>, Petr Mladek <pmladek@...e.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, Xiubo Li <xiubli@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] driver core: Make dev_err_probe() silent for -ENOMEM
On Thu, Jun 13, 2024 at 11:24 PM Uwe Kleine-König <ukleinek@...nel.org> wrote:
> From: Uwe Kleine-König <u.kleine-koenig@...libre.com>
>
> For an out-of-memory error there should be no additional output. Adapt
> dev_err_probe() to not emit the error message when err is -ENOMEM.
> This simplifies handling errors that might among others be -ENOMEM.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...libre.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists