Re: [PATCH] staging: r8188eu: remove label at the end of a function

From: Dan Carpenter
Date: Thu Aug 05 2021 - 10:37:49 EST


On Thu, Aug 05, 2021 at 03:07:50PM +0200, Martin Kaiser wrote:
> Compilation fails for me
>
> drivers/staging/r8188eu/hal/rtl8188e_dm.c: In function ‘rtl8188e_HalDmWatchDog’:
> drivers/staging/r8188eu/hal/rtl8188e_dm.c:182:1: error: label at end of compound statement
> 182 | skip_dm:
> | ^~~~~~~
>
> Remove the label at the end of the function. Replace the jump to this label
> with a return statement.
>
> Signed-off-by: Martin Kaiser <martin@xxxxxxxxx>

This needs a Fixes tag.

regards,
dan carpenter