[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZhlmpPNbEMRye2wZ@smile.fi.intel.com>
Date: Fri, 12 Apr 2024 19:51:48 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Raag Jadav <raag.jadav@...el.com>, kernel@...gutronix.de,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] driver core: Make dev_err_probe() silent for -ENOMEM
On Fri, Apr 12, 2024 at 06:44:05PM +0200, Uwe Kleine-König wrote:
> 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.
..
BUILD_BUG_ON(err == -ENOMEM);
Done!
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists