Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1758747pxj; Wed, 19 May 2021 13:14:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/AacBbzqQp5Uy6cHsFO8rxZC03wX+1gEjbe0Y5tyehTUx+0Sdca30E+Wu+y/wP/mFs1w2 X-Received: by 2002:a17:907:9705:: with SMTP id jg5mr969055ejc.138.1621455273667; Wed, 19 May 2021 13:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621455273; cv=none; d=google.com; s=arc-20160816; b=UBQuVijoHcsF+Tv/7WNMXTq/QVSbZ0Fek87oWxPIztr4t7SaQfEY7F34idYaBjn7T/ S3b7UGuE8nsVT+5kyd8gNZC1G40uoDcWyEAkv6Qs0wTf0BSDViwZpHmsfb/0wuMyg+Sn oDGG8NoEL3KV5WiC8y1AWvVrg3t48TvA78Kjm11iZN/lhO28ZUzxgBmdi2bMFzEz6vOK adYQsc+OW/DXPzx84hG7dHBjefBHcEom8fMCIfDO+fe1ulqN+ZmvNaOSrTs/yk6DmAt7 TrdjSx5avUkVP7G6M4sFhbn7c8+rn7EFCkeUA7G6I1CT7mvUUNoJkK/IAZbdx4tKS0lE U+hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UFGJ58db7g/cHe2heOGPYTXq2BBNeLNcfZmcMU+Yz6E=; b=pCFEfr7YR+7m5edySvjHQjwbJS+E7113zrXtGznLAAbUxw+jIHYGR9YqGBVzPaGt4U j4plS527LvcFe8iQVR+SakyiYReaEMTvR02e8OXLjBxTC1EXvo9XHYYbBMjmecnTryPo xaNKNE0R+8dwqehZjZDsaTosid+D3A+J4QEiYn+cjR1HEYomh18m42tolmqXZ3ILgnud 6JnGAHo350B4bB5FqpPUB3hrgp6iOYZxene3sqLVQf/mKsSmnwcE267UOdaUZNnUx63U xw+mpEvKEHh71AqADgogK/oX5tcgGD9aoG+r3boASTspXxrTHtrrv7+Ls8UQnOuw+kLQ uxOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VZD88qD1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j20si556155eje.346.2021.05.19.13.14.09; Wed, 19 May 2021 13:14:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VZD88qD1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354114AbhESPvs (ORCPT + 99 others); Wed, 19 May 2021 11:51:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:44174 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233708AbhESPvn (ORCPT ); Wed, 19 May 2021 11:51:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 94E7D6112F; Wed, 19 May 2021 15:50:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621439422; bh=rYA/31RI19unKY33ZujGjk0FHRHaNlKBf7X+2ju0gmM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VZD88qD1Bhjp4kQUbWuk4coZH/drDCr41S9q94kFr5eSWmatic5tSPSbc5o5Jz8sG Sz9kNBIdgUoX6rBJ5CKYuX6J+PatLN6RiiBjNpMrKmiNyxf8frRg5ibZDFvGy5s//i iTk1qVXClt6ckagdRlHfnUWHgfBoijvLfzm3mIp0= Date: Wed, 19 May 2021 17:50:20 +0200 From: Greg Kroah-Hartman To: Wan Jiabing Cc: Fabio Aiuto , Marco Cesati , Jiabing Wan , Ivan Safonov , Ross Schmidt , Colin Ian King , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8723bs: os_dep: Align comments and add a blank line Message-ID: References: <20210518022207.83513-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210518022207.83513-1-wanjiabing@vivo.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 18, 2021 at 10:20:54AM +0800, Wan Jiabing wrote: > From: Jiabing Wan > > Fixing the following checkpatch warnings: > WARNING: Block comments should align the * on each line > WARNING: Missing a blank line after declarations > > Signed-off-by: Jiabing Wan > --- > drivers/staging/rtl8723bs/os_dep/osdep_service.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c > index c58555a4012f..2d965e62347f 100644 > --- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c > +++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c > @@ -7,10 +7,10 @@ > #include > #include > > -/* > -* Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE > -* @return: one of RTW_STATUS_CODE > -*/ > +/** If you are going to use kernel doc, make it kernel doc, don't just make it half-way there :) > + * Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE > + * @return: one of RTW_STATUS_CODE > + */ > inline int RTW_STATUS_CODE(int error_code) > { > if (error_code >= 0) > @@ -262,6 +262,7 @@ bool rtw_cbuf_push(struct rtw_cbuf *cbuf, void *buf) > void *rtw_cbuf_pop(struct rtw_cbuf *cbuf) > { > void *buf; > + > if (rtw_cbuf_empty(cbuf)) > return NULL; > > -- > 2.20.1 > You are doing multiple things in the same patch, please break this up. thanks, greg k-h