[2/2] staging: vme_user: fix coding style

Message ID 20221126125642.16358-2-dzm91@hust.edu.cn
State New
Headers
Series [1/2] staging: vme_user: add list_del in the error handling of tsi148_dma_list_add |

Commit Message

Dongliang Mu Nov. 26, 2022, 12:56 p.m. UTC
  Fix coding style enforced by Linux kernel

Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
---
 drivers/staging/vme_user/vme_tsi148.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Greg KH Dec. 5, 2022, 12:22 p.m. UTC | #1
On Sat, Nov 26, 2022 at 08:56:34PM +0800, Dongliang Mu wrote:
> Fix coding style enforced by Linux kernel

What coding style was changed?  Please always be specific.

thanks,

greg k-h
  
Dongliang Mu Dec. 5, 2022, 12:33 p.m. UTC | #2
> On Dec 5, 2022, at 20:22, Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> 
> On Sat, Nov 26, 2022 at 08:56:34PM +0800, Dongliang Mu wrote:
>> Fix coding style enforced by Linux kernel
> 
> What coding style was changed?  Please always be specific.

The commit message is imprecise. Actually, this patch only fixes the code indentation issue of kfree function call.

Will fix it in v2.

> 
> thanks,
> 
> greg k-h
  

Patch

diff --git a/drivers/staging/vme_user/vme_tsi148.c b/drivers/staging/vme_user/vme_tsi148.c
index 0171f46d1848..5ba097e4d17e 100644
--- a/drivers/staging/vme_user/vme_tsi148.c
+++ b/drivers/staging/vme_user/vme_tsi148.c
@@ -1755,7 +1755,7 @@  static int tsi148_dma_list_add(struct vme_dma_list *list,
 err_dest:
 err_source:
 err_align:
-		kfree(entry);
+	kfree(entry);
 err_mem:
 	return retval;
 }