Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3863258rwl; Mon, 27 Mar 2023 22:16:29 -0700 (PDT) X-Google-Smtp-Source: AKy350bFd7fTRM4OVGYVr8NpDhp/DUborgoLt9e0AdchFkV7l39dit8Q8Tohqo7e5lb4pxJUdLUS X-Received: by 2002:aa7:dd41:0:b0:4ac:bd6f:cacc with SMTP id o1-20020aa7dd41000000b004acbd6fcaccmr13601096edw.12.1679980588981; Mon, 27 Mar 2023 22:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679980588; cv=none; d=google.com; s=arc-20160816; b=N4+K2+IYLseRRK13hunxiwWriKC9DFIQrmJ6+iWNkY6kfJz9PrLmwUikM6wajg0uO4 VcXsr9t1QirIQcSzNYlKTMOiGFsjHDTNl7HoyHfWE11jhcconGqMAdejJIzYoW5x6IYr hXSScJHb828FirNUleOEjkKjf8bjzztUJ8gxHD+Xn7PZP1t1MT+hMdIMJFO4DeLXghll D6ctEHrIcrz3eq2901crV8EovpY76rlOxTCLxTFUheI+sMN12GND/FqlmnMgs/xQFOG7 GCTugTNwHrtcwkZC2vPO/lnPIyWIf9DU9KsSJ4QMc6MVCKY1xKKBtGixgA2hGWwjYMcZ mCyQ== 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=lXFYB61Olaco7F+ZGF8DMQhwnR0aJUr1EO/FSh2DQAk=; b=BuzW0w7RGnbF/jpwmFIwBpdUfrfjFcaBhtbunbTE3I6dm/IOYfwHhXusnlUgZLU2az EnNqoX5+mQmww+O8xaVjeSLD0zR5A71KJNS0IJ6ZVpvsiK2Wtz8bQK+T+sB8sQnsUqKN +O5b76aCIhxTDJ+/+xPpWMlg2m2npGJee6eRY+BmZiv+S5bfvOwpJ6HZvvS8NBPJzVx6 TwfV80v2pHY4KPtnyENeW0cWPuGsfChMfg+30zwj666XSOHd7PIHQyIshpg9Ui/w+5M9 KEZgG1rCIRNisvygbuBmBOO7/fs/B0AqCvoDOlwEjKIlrQBlAqW7CdiOT/ar2t28OTUd Pjvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nFX55RdS; 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 c15-20020a056402120f00b004acdef7bab2si27263770edw.220.2023.03.27.22.16.01; Mon, 27 Mar 2023 22:16:28 -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=nFX55RdS; 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 S229611AbjC1FLd (ORCPT + 99 others); Tue, 28 Mar 2023 01:11:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231819AbjC1FLa (ORCPT ); Tue, 28 Mar 2023 01:11:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B2C82121 for ; Mon, 27 Mar 2023 22:11:28 -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 C9E5C60A50 for ; Tue, 28 Mar 2023 05:11:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7C66C433D2; Tue, 28 Mar 2023 05:11:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1679980287; bh=T0M1pgvAdzRe+spfvvLVDkVSL/70Xeq1CaWoRmuHo6g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nFX55RdST9p5XWsK+lCtJ6/PsNUs1V2+T6G2aeU9AfepCCkv0U1XUxTbGxp8lxh8o irqBz+1HhFvQCqewbIAP9mbxD/KesGWfPayXiSukEnMbMICr57c0tZ8H8+TOzS0hFC 2Det/vF6EfDZ2mHH04uotEowWLXRAXeFMTkU16p4= Date: Tue, 28 Mar 2023 07:11:24 +0200 From: Greg KH To: Bagas Sanjaya Cc: Khadija Kamran , outreachy@lists.linux.dev, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Jerry Chuang Subject: Re: [PATCH v3 4/4] staging: rtl8192u: add '*/' on separate line in block comments Message-ID: References: <140e0928531e61dc7396271a5b16a6be17514c76.1679945728.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=-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 Tue, Mar 28, 2023 at 10:27:32AM +0700, Bagas Sanjaya wrote: > On Tue, Mar 28, 2023 at 12:49:09AM +0500, Khadija Kamran wrote: > > Linux kernel coding style uses '*/' on a separate line at the end of > > multi line comments. > > > > Fix block comments by moving '*/' at the end of block comments on a > > separate line as reported by checkpatch.pl script. > > > > Signed-off-by: Khadija Kamran > > --- > > drivers/staging/rtl8192u/r8192U_dm.c | 21 ++++++++++++++------- > > 1 file changed, 14 insertions(+), 7 deletions(-) > > > > diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging/rtl8192u/r8192U_dm.c > > index dd9903719c20..cbae852478ea 100644 > > --- a/drivers/staging/rtl8192u/r8192U_dm.c > > +++ b/drivers/staging/rtl8192u/r8192U_dm.c > > @@ -244,7 +244,8 @@ void init_rate_adaptive(struct net_device *dev) > > * Output: NONE > > * > > * Return: NONE > > - *---------------------------------------------------------------------------*/ > > + *--------------------------------------------------------------------------- > > + */ > > ... > > void dm_rf_pathcheck_workitemcallback(struct work_struct *work) > > { > > struct delayed_work *dwork = to_delayed_work(work); > > @@ -2407,7 +2413,8 @@ static void dm_rxpath_sel_byrssi(struct net_device *dev) > > * Output: NONE > > * > > * Return: NONE > > - *---------------------------------------------------------------------------*/ > > + *--------------------------------------------------------------------------- > > + */ > > While at above can you please turn these comments above into kernel-doc > comments (see Documentation/doc-guide/kernel-doc.rst for how to write > one)? This requires a placeholder doc where you can write e.g. overview > of the driver and how it is used. The doc should be in > Documentation/driver-api/staging/ (since this is staging driver). No, these are static functions, or just normal internal-to-the-driver functions, they do not need kerneldoc or any Documentation/* entries, sorry. greg k-h