From: Rebecca Mckeever Date: Wed, 6 Apr 2022 08:30:57 +0000 (-0500) Subject: staging: r8188eu: format comments in drivers/net style X-Git-Tag: v6.6.17~7348^2~211 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95b8f316aea3b741fb8028d984e15bb0d1d9a1ac;p=platform%2Fkernel%2Flinux-rpi.git staging: r8188eu: format comments in drivers/net style Format comments according to the Linux kernerl coding style for drivers/net so they do not need to be reformatted after this driver is accepted into the drivers/net tree. Suggested-by: Larry Finger Signed-off-by: Rebecca Mckeever Link: https://lore.kernel.org/r/bd7960acafb871c17ef733cd98b37294f38ad3fb.1649233201.git.remckee0@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/core/rtw_cmd.c b/drivers/staging/r8188eu/core/rtw_cmd.c index ed092fa..bbff493 100644 --- a/drivers/staging/r8188eu/core/rtw_cmd.c +++ b/drivers/staging/r8188eu/core/rtw_cmd.c @@ -11,8 +11,7 @@ #include "../include/rtw_mlme_ext.h" #include "../include/rtl8188e_dm.h" -/* - * Caller and the rtw_cmd_thread can protect cmd_q by spin_lock. +/* Caller and the rtw_cmd_thread can protect cmd_q by spin_lock. * No irqsave is necessary. */ @@ -96,8 +95,7 @@ static void _rtw_free_cmd_priv(struct cmd_priv *pcmdpriv) } } -/* - * Calling Context: +/* Calling Context: * * rtw_enqueue_cmd can only be called between kernel thread, * since only spin_lock is used. @@ -317,8 +315,7 @@ post_process: return 0; } -/* - * rtw_sitesurvey_cmd(~) +/* rtw_sitesurvey_cmd(~) * ### NOTE:#### (!!!!) * MUST TAKE CARE THAT BEFORE CALLING THIS FUNC, YOU SHOULD HAVE LOCKED pmlmepriv->lock */