Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp363020pxf; Wed, 10 Mar 2021 07:53:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZ8GDx6iRkZ5l6vy2rL1weFyLPgen0nAio3vVdA5ePZwzp6dXR844U1XDXxGCRQWlTmrLT X-Received: by 2002:aa7:ca04:: with SMTP id y4mr4007886eds.339.1615391601254; Wed, 10 Mar 2021 07:53:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615391601; cv=none; d=google.com; s=arc-20160816; b=PWSPWcTEiSSepsF1D7Sm50HAC9OG8yEiFnpWuIZTlPwyAAxRUc+PeGusiWj4MPQUyY 3PCRImnDXKxrRySpfTaBd3FZo4x+lI7kgKWFAqaQq3Ha84ITRjQ07zxhL/n1n42xFHju E/e/4eNSrkWO4fef//jarOkLC+q37pGFqxLJA2hb5YfuDQRR9traXyFW42SegPaDKl/R PHGZXpiPkTR5pENwu6fGksWQC4hn7crQWlT1mPdD7g087ZYLFfYSbu0fxZ5twQwK5yaF gW1M34CbrnqwF8LAsokK5IZa/mWwrmQPLV/V/KWxao8wVweqggcVWJ76JTRrg3Yh57Va 3LgA== 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=vUQ/Cy5Fj8SnboIikO60exyebpemRVpbbSEjQAcWMr0=; b=U/DjKJbeH/Q6EKEOpS+H3IRzSS8IeDBtfAqo+IAglSeanqpNG9EeU4G6/uIdKWZ8zU C/fRuGFar0nZQCoOVtgIV0gjHQazdLfxZSXAkLMUocIsUx3MsRMii70pigK14kf10pAu sH0Wm7CFUHqu916zF96L76zQeOP5PQhhQPzeuvJWaG7JyuHTOR52OSD10TupOwMP39hL NOj7GGEJmm+xL3IqHujrJm1TmfoDHLnGFhlQUnOS0uvu485S1p2HJD+I0wv5VlFj1Bj4 EN4wT1jBLmgXIUJZVgN2z9O3AN+zJ893KWHuI+w3peDbo6+Mg/PZWYejD+Zy2LndECpk 0kBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JuPixlUo; 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 f4si11499295edm.126.2021.03.10.07.52.58; Wed, 10 Mar 2021 07:53:21 -0800 (PST) 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=JuPixlUo; 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 S233150AbhCJPwB (ORCPT + 99 others); Wed, 10 Mar 2021 10:52:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:54750 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233181AbhCJPvr (ORCPT ); Wed, 10 Mar 2021 10:51:47 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7D79164E86; Wed, 10 Mar 2021 15:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615391507; bh=cx2k3zIevdtlZosOIu0f6rmjRxaYgbMOD0ua7N3lBQg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JuPixlUojewCJxizHFgv508Mf/dCoggWsL9Rd9zsfbnmVi3fCQSMse04AwoRkPsDE u0Oc22drHPorD2NLTpowMmAPsK/D2lodUeDhvJ9qlgObXQXNQqTWKwKtJEt9eKz3/o ciFn+92WIh81f3kHgIpyfn3yLEUrcvyBtOvZSaMc= Date: Wed, 10 Mar 2021 16:51:44 +0100 From: Greg KH To: Fabio Aiuto Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8723bs: align comments Message-ID: References: <20210310153717.GA5741@agape.jhs> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210310153717.GA5741@agape.jhs> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 10, 2021 at 04:37:21PM +0100, Fabio Aiuto wrote: > fix the following checkpatch warnings: > > WARNING: Block comments use * on subsequent lines > + /* > + AMPDU_para [1:0]:Max AMPDU Len => 0:8k , 1:16k, 2:32k, 3:64k > -- > WARNING: Block comments use * on subsequent lines > +/* > +op_mode > > Signed-off-by: Fabio Aiuto > --- > drivers/staging/rtl8723bs/core/rtw_ap.c | 28 ++++++++++++------------- > 1 file changed, 14 insertions(+), 14 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c > index b6f944b37b08..3a0e4f64466a 100644 > --- a/drivers/staging/rtl8723bs/core/rtw_ap.c > +++ b/drivers/staging/rtl8723bs/core/rtw_ap.c > @@ -721,9 +721,9 @@ static void update_hw_ht_param(struct adapter *padapter) > > /* handle A-MPDU parameter field */ > /* > - AMPDU_para [1:0]:Max AMPDU Len => 0:8k , 1:16k, 2:32k, 3:64k > - AMPDU_para [4:2]:Min MPDU Start Spacing > - */ > + * AMPDU_para [1:0]:Max AMPDU Len => 0:8k , 1:16k, 2:32k, 3:64k > + * AMPDU_para [4:2]:Min MPDU Start Spacing > + */ > max_AMPDU_len = pmlmeinfo->HT_caps.u.HT_cap_element.AMPDU_para & 0x03; > > min_MPDU_spacing = ( > @@ -1815,17 +1815,17 @@ void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx) > } > > /* > -op_mode > -Set to 0 (HT pure) under the following conditions > - - all STAs in the BSS are 20/40 MHz HT in 20/40 MHz BSS or > - - all STAs in the BSS are 20 MHz HT in 20 MHz BSS > -Set to 1 (HT non-member protection) if there may be non-HT STAs > - in both the primary and the secondary channel > -Set to 2 if only HT STAs are associated in BSS, > - however and at least one 20 MHz HT STA is associated > -Set to 3 (HT mixed mode) when one or more non-HT STAs are associated > - (currently non-GF HT station is considered as non-HT STA also) > -*/ > + *op_mode > + *Set to 0 (HT pure) under the following conditions > + * - all STAs in the BSS are 20/40 MHz HT in 20/40 MHz BSS or > + * - all STAs in the BSS are 20 MHz HT in 20 MHz BSS > + *Set to 1 (HT non-member protection) if there may be non-HT STAs > + * in both the primary and the secondary channel > + *Set to 2 if only HT STAs are associated in BSS, > + * however and at least one 20 MHz HT STA is associated > + *Set to 3 (HT mixed mode) when one or more non-HT STAs are associated > + * (currently non-GF HT station is considered as non-HT STA also) > + */ Add a space after the ' ' to make it look correct please. thanks, greg k-h