Re: [PATCH] Update core.c

From: Bagas Sanjaya
Date: Wed Oct 02 2024 - 10:15:32 EST


On Tue, Oct 01, 2024 at 01:06:49AM +0300, Okan Tumuklu wrote:
> From: Okan Tümüklü <117488504+Okan-tumuklu@xxxxxxxxxxxxxxxxxxxxxxxx>

Please use your real email address and don't forget to add Signed-off-by:
trailer (`git commit -s` does it for you).

>
> 1:The control flow was simplified by using else if statements instead of goto structure.
>
> 2:Error conditions are handled more clearly.
>
> 3:The device_unlock call at the end of the function is guaranteed in all cases.

Split logical changes into separate patches - in a patch set.

Thanks.

--
An old man doll... just what I always wanted! - Clara

Attachment: signature.asc
Description: PGP signature