Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp454989rwl; Sat, 25 Mar 2023 05:26:15 -0700 (PDT) X-Google-Smtp-Source: AKy350bcV5JyIC/OIuERJVvYLT3yAv6EKVp+R3d0lZjN8GSdZGZiztNcPDTU609twhl995oftBPs X-Received: by 2002:a17:906:6953:b0:932:e43f:7367 with SMTP id c19-20020a170906695300b00932e43f7367mr5811573ejs.35.1679747174930; Sat, 25 Mar 2023 05:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679747174; cv=none; d=google.com; s=arc-20160816; b=CBt0Sqlx9/mvztrknl3RZYrctz+QuP5KKk6CqIBgpuZSa16rlRbcZgdtRV8LbFGYgI cCa1TjxHfRfZ3552N23eXR3rAasOs7ObJ3hVYH39/F0bu5xZEBM9NfAnpN93ASVmHmjd i7i3YP98gILzHRsxyLKTYgXnj+60vs++3qlCVg9InEjm7qqtKwHgscVAjuGfAJ4XSn5H us1ZoU4Z4yW7lDI7jNEXe4vWDETQxdySZ0pBORjK4AgfvhTrbIRZwryOhktt71igfnb8 qh+7dG543Pnqk3o5Kc+B9NRJnYFhtAiu1PFS23b2phkhuHRgkVsFZ05fdhBF/xqbIXvi 9bWg== 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=Cfa5Jdx8AXlhwwjX6Fhrh5/ggMCXepBsVHsVITqvzQ8=; b=BEFh+TPtHKRhuY/ARoeCekhz9VUNQhruQwJY82LV3Hlt5UEJkBnpjODSVetTYYHilB TczBa1mpCeWZnSoRfFbIDwWZGy6f/VtA+Rnj4J62G3iWYMXvD1bqlckRU/bfDBAEp3rn wAOQ5++SaQw4MwFE4rF8h6pAnK87B+193nD0FtteVH7E4UpNEVF9pmEYPrDiatXA5V9O p1iRy8CxTo8INO1IbmlSMM1UoMoQ6P1LnivnNpuop6Hc5MNUa0P8/Hs0rSRs5C8Nht9A A0xS+k9ezU9vAoxJ9GTum5vgIzajwSTU8QP7PXG2YF7oahzrZeyIVM9liKhNBe4JvEnI WvCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1FEz6e9f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vg2-20020a170907d30200b009345ceac84asi15691547ejc.362.2023.03.25.05.25.50; Sat, 25 Mar 2023 05:26:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1FEz6e9f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231963AbjCYMXV (ORCPT + 99 others); Sat, 25 Mar 2023 08:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjCYMXU (ORCPT ); Sat, 25 Mar 2023 08:23:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 408E81735 for ; Sat, 25 Mar 2023 05:23:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CB9E560C3E for ; Sat, 25 Mar 2023 12:23:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF620C433EF; Sat, 25 Mar 2023 12:23:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1679746998; bh=7ppK1dezInckwEatHKgVAR9N75jT8VGwrDocbFmyk9s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1FEz6e9fVcoEOGPI6DX5dwtmOOYP+MnnLjx6c/PPTud/9S2dP8zvFa//uKw0nGTGR ITfr3347QzhfIh4GVbhC7DZOPQaVJnANAyG7Izo98fBeaSnq6D6Xaf9Mnm7y9qxrZY iw0mTY9CMpnbnLDbpHRpVw7YfcfBlUiLqjOrroak= Date: Sat, 25 Mar 2023 13:23:15 +0100 From: Greg KH To: Khadija Kamran Cc: outreachy@lists.linux.dev, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] staging: rtl8192u: reformat block comments Message-ID: References: <2974a7ba0e2d3cc693b2a7229cf150c10f395ac5.1679744684.git.kamrankhadijadj@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2974a7ba0e2d3cc693b2a7229cf150c10f395ac5.1679744684.git.kamrankhadijadj@gmail.com> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 25, 2023 at 05:13:16PM +0500, Khadija Kamran wrote: > Linux kernel coding style for block comments uses a column of '*' on the > left side and uses '*/' on a separate line. > > Fix block comments by adding '*' on subsequent lines and moving '*/' at > the end of block comments on a separate line. These issues in block > comments are reported by checkpatch.pl script. > > Signed-off-by: Khadija Kamran > --- > drivers/staging/rtl8192u/r8192U_dm.c | 162 ++++++++++++++------------- > 1 file changed, 86 insertions(+), 76 deletions(-) > > diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging/rtl8192u/r8192U_dm.c > index 6a33ca02c3dc..a88686be3523 100644 > --- a/drivers/staging/rtl8192u/r8192U_dm.c > +++ b/drivers/staging/rtl8192u/r8192U_dm.c > @@ -1,19 +1,20 @@ > // SPDX-License-Identifier: GPL-2.0 > /*++ > -Copyright-c Realtek Semiconductor Corp. All rights reserved. > - > -Module Name: > - r8192U_dm.c > - > -Abstract: > - HW dynamic mechanism. > - > -Major Change History: > - When Who What > - ---------- --------------- ------------------------------- > - 2008-05-14 amy create version 0 porting from windows code. > - > ---*/ > + * Copyright-c Realtek Semiconductor Corp. All rights reserved. > + * > + * Module Name: > + * r8192U_dm.c > + * > + * Abstract: > + * HW dynamic mechanism. > + * > + * Major Change History: > + * When Who What > + * ---------- --------------- ------------------------------- > + * 2008-05-14 amy create version 0 porting from windows code. > + * > + *-- > + */ > #include "r8192U.h" > #include "r8192U_dm.h" > #include "r8192U_hw.h" > @@ -147,20 +148,20 @@ void dm_CheckRxAggregation(struct net_device *dev) > unsigned long curRxOkCnt = 0; > > /* > - if (pHalData->bForcedUsbRxAggr) { > - if (pHalData->ForcedUsbRxAggrInfo == 0) { > - if (pHalData->bCurrentRxAggrEnable) { > - Adapter->HalFunc.HalUsbRxAggrHandler(Adapter, FALSE); > - } > - } else { > - if (!pHalData->bCurrentRxAggrEnable || (pHalData->ForcedUsbRxAggrInfo != pHalData->LastUsbRxAggrInfoSetting)) { > - Adapter->HalFunc.HalUsbRxAggrHandler(Adapter, TRUE); > - } > - } > - return; > - } > - > -*/ > + * if (pHalData->bForcedUsbRxAggr) { > + * if (pHalData->ForcedUsbRxAggrInfo == 0) { > + * if (pHalData->bCurrentRxAggrEnable) { > + * Adapter->HalFunc.HalUsbRxAggrHandler(Adapter, FALSE); > + * } > + * } else { > + * if (!pHalData->bCurrentRxAggrEnable || (pHalData->ForcedUsbRxAggrInfo != pHalData->LastUsbRxAggrInfoSetting)) { > + * Adapter->HalFunc.HalUsbRxAggrHandler(Adapter, TRUE); > + * } > + * } > + * return; > + * } > + * > + */ Do not reformat things, only to remove them in the last commit in the series. Instead, remove the commented out code lines first, and then fix up any remaining ones, that should make the churn much less. thanks, greg k-h