Re: [PATCH v2 1/4] staging: rtl8723bs: fix block comment style

From: Greg KH

Date: Mon Jan 12 2026 - 04:32:24 EST


On Mon, Jan 12, 2026 at 04:34:26AM +0000, Nayana Mariyappa wrote:
> Fixed multi-line block comments in osdep_service.c to follow kernel
> coding style.
> No functional change.
>
> Signed-off-by: Nayana Mariyappa <nayana.mariyappa@xxxxxxxxx>
> ---
> drivers/staging/rtl8723bs/os_dep/osdep_service.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
> index a00f9f0c85c5..8f6dd3560303 100644
> --- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
> +++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
> @@ -6,10 +6,10 @@
> ******************************************************************************/
> #include <drv_types.h>
>
> -/*
> -* Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE
> -* @return: one of RTW_STATUS_CODE
> -*/
> +/**

Nit, this shouldn't be /**, but rather /* as before, as this is not a
valid kernel doc comment.

If you want to turn it into a kernel-doc statement, like I think
checkpatch is warning you about, then please do so, with the full
function name and arguments documented. But I really doubt this is
needed at all, but rather this can just be a one line comment instead.

thanks,

greg k-h