diff mbox series

update core.c

Message ID CAJb+kEmFoTXCKh=xSfCas7B=oQP1p8vnn5eoa=zn54FRXOOntg@mail.gmail.com (mailing list archive)
State New
Headers show
Series update core.c | expand

Commit Message

Okan Tümüklü Sept. 29, 2024, 10:40 p.m. UTC
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

Comments

Shuah Khan Sept. 30, 2024, 8:32 p.m. UTC | #1
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
diff mbox series

Patch

--- core.c	2024-09-30 01:32:34.037110064 +0300
+++ new_core.c	2024-09-30 01:36:08.278540961 +0300
@@ -55,6 +55,7 @@ 
 		return rc;
 }
 
+
 /**
  * nfc_fw_download_done - inform that a firmware download was completed
  *