Re: [PATCH] mmc: core: check the return value of wakeup_source_register()

From: Andy Shevchenko
Date: Fri Feb 25 2022 - 11:55:18 EST


On Fri, Feb 25, 2022 at 04:18:58AM -0800, Jia-Ju Bai wrote:
> The function wakeup_source_register() in mmc_alloc_host() can fail, so
> its return value should be checked.

NAK.

This doesn't explain why this resource must be non-optional.

One should not dumbly use the robots.

--
With Best Regards,
Andy Shevchenko