2022-11-26 13:11:55

by Dongliang Mu

[permalink] [raw]
Subject: [PATCH 2/2] staging: vme_user: fix coding style

Fix coding style enforced by Linux kernel

Signed-off-by: Dongliang Mu <[email protected]>
---
drivers/staging/vme_user/vme_tsi148.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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;
}
--
2.37.1 (Apple Git-137.1)


2022-12-05 12:38:38

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 2/2] staging: vme_user: fix coding style

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

2022-12-05 14:16:29

by Dongliang Mu

[permalink] [raw]
Subject: Re: [PATCH 2/2] staging: vme_user: fix coding style



> On Dec 5, 2022, at 20:22, Greg Kroah-Hartman <[email protected]> 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