Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3560479pxf; Mon, 22 Mar 2021 09:13:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2xR5x9JiS+Rq7Wr40B4LqPD6XLYbO0IdY5+gALKo8tSYbTWgD/PvFCqs4aQdx9i71ZKTi X-Received: by 2002:a05:6402:17d6:: with SMTP id s22mr345383edy.232.1616429591626; Mon, 22 Mar 2021 09:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616429591; cv=none; d=google.com; s=arc-20160816; b=tFIYy2ileM97AbQS8AxeSDnzm4sSosxqyxGpT0BHfvwCqxHoGGFu2ixPLmLcz2+BQT ufFJkylEA2XX61f95+l1OIlu5ldORkQ4/+iL3UPdQ5HDZL2GXRSrWnIwQQd2JpA5Ffps oe+b9ys4NUDFpLCfZOr9SynVh9KVkE7TNfsax5iciYA2bB8UYyABoZ+gZBI+idDcJ70V 2tUy0DR7mxu6AsEtCAIze/+5vnO7jZzJ7PTBFTPAqLu3120OOZL6QHFtXZdXXrguKIwa +BWsfBdV2cKTRyCfRX2ehIbXT0zMuG41gbNgzltCVqyNqGnc88wmkmW3EMIBOUSnNCcv byhg== 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=6YPU9AUt+xvd1HbsqodPbOECmCYDwDHD6nf5bFsCRHo=; b=bqrsiTYBkAuazvPO0EPyXws7B6VxxDstwTXdRYugvth6CnfPbvzIcQ/SovXkeJQi3C auZtgrCE7mL1nGCikFjG77S755SeOCuSPrzNBjmy9qA9pzA4xBkz4U6V8YgZSWBehSmm MZBplC1CqHaZEnuZ/oDuSvOM9LVJKyUmQt5vMG93QYwBGTHUwhovTXwHwinp9GMWUPTD tbXd3UXmHaYc+QT9CMEVczstgfve1MGLmrpD0/EHpHBVl5tciBJk20+cc1khK6n33T2a GxQiqhXunayTdRKBeCv9Oliz6Jr6eRsNHqtA70gHDZhBWTfFLxU8VsyHaDICyefbOJzY tFnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CEnzfShK; 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 mj11si2408951ejb.589.2021.03.22.09.12.47; Mon, 22 Mar 2021 09:13:11 -0700 (PDT) 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=CEnzfShK; 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 S231506AbhCVQLm (ORCPT + 99 others); Mon, 22 Mar 2021 12:11:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:55944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbhCVQLQ (ORCPT ); Mon, 22 Mar 2021 12:11:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 40D1E61974; Mon, 22 Mar 2021 16:11:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1616429475; bh=uXWzdJao91erGlT0gjrKYueZuvbCNU6HdOT0WlaF5yM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CEnzfShKpZ2/pZOcNP/XY/SJVhKtnYD0qkwdfM9k86Gkx37aPGO69jshLHe4dn9Lg J2HxkOUpDIr+SgybbHXxZ/YVlbhc/C6tyZI9vxI5dW4607Ohk4b61TMLVTdaZQ6pos wBNMYjhhrqidz/uW9WlAo7fm7f6RGISOFMLu/fKo= Date: Mon, 22 Mar 2021 17:11:13 +0100 From: Greg KH To: Fabio Aiuto Cc: joe@perches.com, apw@canonical.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/11] staging: rtl8723bs: remove argument in recv_indicatepkts_pkt_loss_cnt Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 22, 2021 at 03:31:43PM +0100, Fabio Aiuto wrote: > remove debug_priv argument so function prototype can be > easily moved away > > Signed-off-by: Fabio Aiuto > --- > drivers/staging/rtl8723bs/core/rtw_recv.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c > index 9ef2408ded57..e2a6afed723c 100644 > --- a/drivers/staging/rtl8723bs/core/rtw_recv.c > +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c > @@ -1983,13 +1983,13 @@ int enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl, union rec > > } > > -void recv_indicatepkts_pkt_loss_cnt(struct debug_priv *pdbgpriv, u64 prev_seq, u64 current_seq); > -void recv_indicatepkts_pkt_loss_cnt(struct debug_priv *pdbgpriv, u64 prev_seq, u64 current_seq) > +u64 recv_indicatepkts_pkt_loss_cnt(u64 prev_seq, u64 current_seq); But you did not drop the function prototype, why keep it? And shouldn't this be static? thanks, greg k-h