Re: [PATCH] edac: Fix reference count leak in edac_device_register_sysfs_main_kobj()

From: Markus Elfring
Date: Fri May 29 2020 - 05:41:31 EST


>> * The label âerr_outâ can be replaced by direct return statement,
>> can't it?
>
> No, it cannot. It keeps the error handling code out-of-line so that the
> function body remains readable.

Have we got different programming expectations also around the application
of the Linux coding style?

Regards,
Markus