[PATCH 2/3] staging: ks7010: fix block comment style in ks7010_stdio.c

Greg KH gregkh at linuxfoundation.org
Mon Oct 10 07:06:48 UTC 2016


On Mon, Oct 10, 2016 at 12:42:19AM +0530, Akshay Mariyanna wrote:
> This fixes the following checkpatch warnings:
> WARNING: Block comments use * on subsequent lines
> WARNING: Block comments use a trailing */ on a separate lines
> 
> Signed-off-by: Akshay Mariyanna <akmlkcc at gmail.com>
> ---
>  drivers/staging/ks7010/ks7010_sdio.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
> index a37cadf..6ae125c 100644
> --- a/drivers/staging/ks7010/ks7010_sdio.c
> +++ b/drivers/staging/ks7010/ks7010_sdio.c
> @@ -495,8 +495,9 @@ static void ks7010_rw_function(struct work_struct *work)
>  	/* wiat after WAKEUP */
>  	while (time_after(priv->last_wakeup + ((30 * HZ) / 1000), jiffies)) {
>  		DPRINTK(4, "wait after WAKEUP\n");
> -/*		queue_delayed_work(priv->ks_wlan_hw.ks7010sdio_wq,&priv->ks_wlan_hw.rw_wq,
> -		(priv->last_wakeup + ((30*HZ)/1000) - jiffies));*/
> +		/* queue_delayed_work(priv->ks_wlan_hw.ks7010sdio_wq,&priv->ks_wlan_hw.rw_wq,
> +		 * (priv->last_wakeup + ((30*HZ)/1000) - jiffies));
> +		 */

This is not a "block comment" it is a "code is commented out for some
reason" type of thing, please just leave it as-is for now.

thanks,

greg k-h


More information about the devel mailing list