Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp465814rwl; Sat, 25 Mar 2023 05:37:21 -0700 (PDT) X-Google-Smtp-Source: AKy350ZKtKB7L/i5RVQSRbHjI2v5CHHbnsFad+jK8V6kgvUaO9iBGiR6Viofbr93ugNoMf14gsoy X-Received: by 2002:a05:6402:716:b0:502:2494:b8fc with SMTP id w22-20020a056402071600b005022494b8fcmr4242646edx.7.1679747841266; Sat, 25 Mar 2023 05:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679747841; cv=none; d=google.com; s=arc-20160816; b=g7pQxGEpBsPK4hWMqFUo/grjoTid+6o9py7jp7BBghlFYQCcLk0TL+a43FBWt9OAnV 1VpWvyrWZ1Dsr/+miV5pm/BTISiAdTt9CCCQTXZe9bUMRQexeNa4/KPfd9qY7469HMxt BNzkRSLEzyBQ5Fc06dGsV7wm2Y+JfKc0niYj5qUpPoHzMUXQcGuFa/fUu5jNcxxCy0qO B24G+UInBXKANqZyHu5W3yil9NXdYI+B469ZtR5IsudMwWBMTKmk6B3IPzH/ibvEBcR1 /fnbvxfAfr9X5I0AOQhikxqsK9M81DX8juevNAXrIQHKnZ7ONF9d+oIV8QUxBrY6rwwA WUpw== 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=JbN5mOcBlmckGxX4Bx9VedlDXlZrxrgvxWsGRNZfOb8=; b=cTygSPhUjYY/xVFBygKrcefJ4KMc+S4zLWb+J4jWyxpw8n2a1nqpSmasSntGrRBJXp zZYUc/J3DDpXkBpfKBi6XxS0j5OPJQB8n13EPGSqFaZSCdSs2hnqf+fIuDV0c0sRpfJZ Crf0JaUZRJwvtq72q7phYAEHCuMCnEd/4wEe+vtRIK4j3gGLONyATuLnN+MY1cf+ThJE sVpRLS6I9nNvSObP1f1MQKDQK1E4ZH7IADOm393xs445+1uB2ZATS/fcIl3mbz2M6vH0 17g/wmVa5D1hzvDroKOQVTfI5c/qK35sYpYLUxYtv+hDS1uIPeDtpl3krZo6O3pCjUJ2 qfKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fBTHm3m9; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020aa7d78f000000b0050202f2d6a7si7617787edq.319.2023.03.25.05.36.53; Sat, 25 Mar 2023 05:37:21 -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=@gmail.com header.s=20210112 header.b=fBTHm3m9; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbjCYMbU (ORCPT + 99 others); Sat, 25 Mar 2023 08:31:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbjCYMbT (ORCPT ); Sat, 25 Mar 2023 08:31:19 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F34DD11171 for ; Sat, 25 Mar 2023 05:31:17 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id v4-20020a05600c470400b003ee4f06428fso2423689wmo.4 for ; Sat, 25 Mar 2023 05:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679747476; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=JbN5mOcBlmckGxX4Bx9VedlDXlZrxrgvxWsGRNZfOb8=; b=fBTHm3m9tr4SUPIf7MA2Q/ZCS+Cy/eWwuDKX13u6VAbLUHYEfa2pjzM4c6MEOIowrR 5X4eZC5xSzoiWrdPcZ2N6TkcC7Cru3ZxwFJzX+eWf4NnY7+xdE7VZwlXZG5SAmQahRGm 7lMSDZyYj7DUPiDXEazYAmXSUISTb9CK0XKATX45ftBTkWxjlkUih4zo1QwLGawLDs8W C3OLM+zmJya1AKFyPcYUmgn79GGWPZqiQYIdo7c+kA6wFcd5hbEfTPibfpkEpWP4ajpP GQ/uXnXNPev5dA5EpbN0rOhjBMKrKyAz+p5ywOkBH73IHf/IlGw3Kr+7u1z0IbQGo4Wm QpKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679747476; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JbN5mOcBlmckGxX4Bx9VedlDXlZrxrgvxWsGRNZfOb8=; b=Y6ZUG03Ickq6CO0LiOcQ3zGWqrtJ2flW2kAS9PZQI2Xl8cD6xdOqYJhX8+cidt1/n3 SFgptV2uyumD8llOehSG49HRkM+K7otW4MScU8heeOdwQnAfoerXg/kpF2JMflWCDpW8 G9hIiTvIapeu1/Vc0DYMypxJs/VHsI36qmlEiqLJtB1yZxnTdfsN90B6Sm3iipjdVrn3 LGZvdKWrdfpSKHopyfx2XkDrSeguvxzhDTqLF9bV9FtQ/9EOpUZU0vzu1Vq7G8XpOY+s x2odCwtyUX/WYQa89d6BKFThotJQ7kQCJh0altmKWRun1NFvLHPm38xn1BUl6Coys6hc 6K/A== X-Gm-Message-State: AO0yUKUadquQfY7hyMA5f302dFyTK6ekcifRZFqFsum4xSbOnQpXneSz wkIpCUvkfdpfSCHAEQjHKH7UBiJby68Eag== X-Received: by 2002:a05:600c:2214:b0:3ee:289a:43a7 with SMTP id z20-20020a05600c221400b003ee289a43a7mr5778380wml.22.1679747476051; Sat, 25 Mar 2023 05:31:16 -0700 (PDT) Received: from khadija-virtual-machine ([39.41.14.14]) by smtp.gmail.com with ESMTPSA id a2-20020a05600c224200b003ee63fe5203sm7777290wmm.36.2023.03.25.05.31.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Mar 2023 05:31:15 -0700 (PDT) Date: Sat, 25 Mar 2023 17:31:13 +0500 From: Khadija Kamran To: Greg KH 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: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, 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 01:23:15PM +0100, Greg KH wrote: > 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. Hey Greg, Thank you for the feedback. Let me resend the patchset after doing all the advised changes. Regards, Khadija > > thanks, > > greg k-h