diff mbox series

update core.c

Message ID CAJb+kEmFoTXCKh=xSfCas7B=oQP1p8vnn5eoa=zn54FRXOOntg@mail.gmail.com
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
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
  *