Re: [PATCH] [PATCH v2] Staging: rts5208: rtsx: Moved else statement to same line with else if

From: Dan Carpenter
Date: Fri May 19 2023 - 06:10:07 EST


On Fri, May 19, 2023 at 03:31:19PM +0530, Deepanshu Kartikey wrote:
> Moved else statement to same line with else if,
> this warning was given by checkpatch.pl
>
> Signed-off-by: Deepanshu Kartikey <kartikey406@xxxxxxxxx>
>
> ...
> Changes in V2:
> - Moved else to the same line with else if
> - Moved comment on else statement to inside of it
> ---
> drivers/staging/rts5208/rtsx.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)

Please read my blog about how to resend a patch.

https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/

regards,
dan carpenter