Re: update core.c

From: Shuah Khan
Date: Mon Sep 30 2024 - 16:32:12 EST


On 9/29/24 16:40, Okan Tümüklü wrote:
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.

Github request : https://github.com/torvalds/linux/pull/967 <https://github.com/torvalds/linux/pull/967>

Please send patches for these changes.

Refer to submitting patches document in the kernel repo.

thanks,
-- Shuah