Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2269709rwb; Mon, 19 Sep 2022 02:25:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4hyNGaTSgaogZyC5iIO1iXbWhPxEZU9Pn0QXMLvYAJdqKfccILKgKMpq0yzvwUnyLa++km X-Received: by 2002:a17:902:7281:b0:178:388d:6f50 with SMTP id d1-20020a170902728100b00178388d6f50mr12415570pll.127.1663579521958; Mon, 19 Sep 2022 02:25:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663579521; cv=none; d=google.com; s=arc-20160816; b=RFcJtnqyTM8ViXa045sQfMoJGasZIhNYZka+57v1hb6QhGx4bP94v6g3FzSJuKQGtX Eh5KB1MsXyEebx6KMN5CuA478aWIzg5P2B2aQAf9tP+a00rnpJTtTJvQwZjsgovj4ztY CtAc6w22cJrpw7OZY8XLMrNYEqDUcbB6mpfXQXEKNJSEsrAGxkvYAkdX25CEo/Mq3GLV zgU5mmjW07KnbJF6wRQItNiVtcW1Xs8u4nEoyQ03kfVRYhV+l523dGOw8yzHi1czWB52 Nmp9m1hg3RSHjHXg6gQie2UhnVtPum2LF+SuIybUtzp99IknswfsqkOgapkDnOvtdBcQ w8iA== 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=dzWKhpg2lNd/QOMrTqdSy7imEbVf/fWR5pnv+dVqp+Q=; b=tOVeQdOMaRgVP84CJZvu48o+hoWM0F1qv/S/fCYhpEkxs0lO++M73I13JyFgI2a/ld 8+Rg9Uax9G0FCDA+nTZZVJa36UhMXd/sTSUeCiPw9ISjzUtoedZww2Ryn4t5ZMRWI+77 HhVDchkRW3CnOVG59cd71U2VvlG6KeVTy1qPvKE2ypvi7qmVDKykdwRCesf2HUeOtiao IYX40pdb+B283rMtbaTkejY+TrwymmrWryanPFKNC8Ov8w5B8/qjbUm0D5HlSleoUPhZ QoiwshUxMRMgHFBmEm/VWPWs6s0kp6C/KoFZDB/paRcrlRyBu+2t81LY0VxrCzhRWzda DTFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="N/pdsEoT"; 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 u1-20020a170902e5c100b001714853e501si20616908plf.76.2022.09.19.02.25.10; Mon, 19 Sep 2022 02:25: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=@linuxfoundation.org header.s=korg header.b="N/pdsEoT"; 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 S229567AbiISJJ1 (ORCPT + 99 others); Mon, 19 Sep 2022 05:09:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbiISJJX (ORCPT ); Mon, 19 Sep 2022 05:09:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD29CE0E8 for ; Mon, 19 Sep 2022 02:09:22 -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 496DE61882 for ; Mon, 19 Sep 2022 09:09:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A05CC433D6; Mon, 19 Sep 2022 09:09:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663578561; bh=WHDOUGDBEFXAWWV1HrED2NCv+2En8pl2kk+OmNIMVvs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N/pdsEoT/57mv94SqnWmIEqEDBRbN3pCVWL5UKZu8AuPLskbcc6rit2GCQhFNAGnn aX6eCVSqQJ+ESZZQwbBcyv3KeVU6+FTchmJce+szucJersLH5ctIscwn5iBq3YWI6G D+Iy38K8TlSqjN3UXp2SrhXKXev+EIvxknMOyvb0= Date: Mon, 19 Sep 2022 11:09:48 +0200 From: Greg Kroah-Hartman To: Kang Minchul Cc: Hans de Goede , Fabio Aiuto , Kees Cook , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] staging: rtl8723bs: Fix coding style issue in block comment Message-ID: References: <20220917181130.3237159-1-tegongkang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220917181130.3237159-1-tegongkang@gmail.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Sun, Sep 18, 2022 at 03:11:30AM +0900, Kang Minchul wrote: > This patch removes the following warning generated by checkpatch.pl > > WARNING: Block comments use * on subsequent lines > #206: FILE: rtw_recv.c:206: > +/* > +signed int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue) > > WARNING: Block comments use * on subsequent lines > #216: FILE: rtw_recv.c:216: > +/* > +caller : defrag ; recvframe_chk_defrag in recv_thread (passive) > > Signed-off-by: Kang Minchul > --- > drivers/staging/rtl8723bs/core/rtw_recv.c | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c > index d8d394b67eeb..ad6fb6c3d1f0 100644 > --- a/drivers/staging/rtl8723bs/core/rtw_recv.c > +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c > @@ -203,22 +203,22 @@ signed int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *q > } > > /* > -signed int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue) > -{ > - return rtw_free_recvframe(precvframe, queue); > -} > -*/ > + * signed int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue) > + * { > + * return rtw_free_recvframe(precvframe, queue); > + * } > + */ I agree with Dan, just remove these unused functions please. thanks, greg k-h