Re: [PATCH] driver core: Make dev_err_probe() silent for -ENOMEM
From: Uwe Kleine-König
Date: Fri Apr 12 2024 - 16:30:37 EST
Hello,
On Fri, Apr 12, 2024 at 08:53:03PM +0300, Andy Shevchenko wrote:
> Hmm, but why macro? Shouldn't compiler be clever enough to see it even for
> the exported function?
If it's in the .c file only, the compiler doesn't know about it when
compiling the dwc pwm driver ...
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature