Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1903649pxb; Mon, 20 Sep 2021 07:53:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlK/u3aqyujBdA+5fdPjGQ3pk6TViXMaMSFDRj8GZHtWtsg4RsDy/AUoEyPWpTE5HhF2bq X-Received: by 2002:a17:906:dbf8:: with SMTP id yd24mr29558269ejb.560.1632149593967; Mon, 20 Sep 2021 07:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632149593; cv=none; d=google.com; s=arc-20160816; b=dBPjroG63BVJzqym1CmDQ/1/tgeWCHZfWolk0L5BVv2ssZ+TfGRG1mGwpwWUv+ccA4 qqDsCDpKk/cb599WJ73CK/Ns5mbvkdM2ch97GlpqSy6gDmauogFz7e+DkCKQiEKjazna 3DOpIvVL8kU8jgYlWRG4jTwr7VZOs+gRmtnQaVAfyLIaEM7HcIItpUoSFD1FATvXRrbU CDeDvK+/oC30Nvzh1H1GSTJ/ez8cUwVVCKbUXRtO1Be6Dg1VIu3CRcpskHYk3gE5uQSB wHFtpkE1EAbtPG8IHN58MRaGlJ+Tye5wRDNLBS3vUYcODVHSbkFkdJ50AzYB+v/QXEdO GeFg== 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=elJJfhRNo2tEzIUnaNkIeDOACBP+Ty42EG09JgXiloE=; b=ZZ5RDhddovsu3535J2tCnrIL9ICJHjkfa3VrJo4o9XtiuIvz/A6g3/YxrjRV0u4/Us X7IsjGKZudInY6pn7B9UeS4Z7DZx56f9wMZbG6dtuSIjiO7yHS0xRzjoZKNj9QbNocCV NTWnA50NNoj63GEDZ76RqNFSFC2tJVpb6WX4yHlHWK6k6SHRogF0JPayZd9tA6FJqm0W nhtA4vynCzJjJCEtZ8GeTce1mUMzUBZg7/EwyHSSu7EGtCyZ6U2WB47uCs58CS1gbonn cqlbusXOj4ZSx3VTMIGyhrf4wRWem7ZQ1ls9h5lYqPXg7TJ3wGdrSoG+Cf039yx8Yy6j 94tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="p/91R2Pw"; 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 i23si18811932edr.267.2021.09.20.07.52.49; Mon, 20 Sep 2021 07:53:13 -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="p/91R2Pw"; 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 S232138AbhITKhf (ORCPT + 99 others); Mon, 20 Sep 2021 06:37:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:56946 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230510AbhITKhe (ORCPT ); Mon, 20 Sep 2021 06:37:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C572460F38; Mon, 20 Sep 2021 10:36:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632134168; bh=FyEfOZsrlmxm+TybRrNr+Ydd4VRnpaZgTRwd5a8QJQo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p/91R2PwOq8kFNVLBbjvhmdK/D/UA5yPPYmR0nurN8XlrvJ3E/PiygTHLkW+nGfo2 dBY4wO0aM2kDbasnozpw6F5MYMLeJi26GHkCgMHnP9CD4fRFFhSWlTX67Xj23Pp2m0 UT4h/2zI19mlD1q3jcLVgBHKNlT1Wgoyb+w+JnL0= Date: Mon, 20 Sep 2021 12:36:06 +0200 From: Greg KH To: Saurav Girepunje Cc: saurav.girepunje@hotmail.com, Larry.Finger@lwfinger.net, phil@philpotter.co.uk, straube.linux@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: r8188eu: core: remove the function power_saving_wk_hdl Message-ID: References: <45c4de06-f618-4352-91ea-885edecdf8bb@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45c4de06-f618-4352-91ea-885edecdf8bb@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 18, 2021 at 10:52:50PM +0530, Saurav Girepunje wrote: > > > On 13/09/21 9:48 pm, Greg KH wrote: > > On Fri, Sep 10, 2021 at 11:24:39PM +0530, Saurav Girepunje wrote: > > > Remove the function power_saving_wk_hdl() as it just calling > > > the rtw_ps_processor().Instead of power_saving_wk_hdl() call directly > > > rtw_ps_processor(). > > > > > > Signed-off-by: Saurav Girepunje > > > --- > > > drivers/staging/r8188eu/core/rtw_cmd.c | 7 +------ > > > 1 file changed, 1 insertion(+), 6 deletions(-) > > > > > > diff --git a/drivers/staging/r8188eu/core/rtw_cmd.c b/drivers/staging/r8188eu/core/rtw_cmd.c > > > index ce73ac7cf973..35e6a943c556 100644 > > > --- a/drivers/staging/r8188eu/core/rtw_cmd.c > > > +++ b/drivers/staging/r8188eu/core/rtw_cmd.c > > > @@ -1669,11 +1669,6 @@ u8 rtw_antenna_select_cmd(struct adapter *padapter, u8 antenna, u8 enqueue) > > > return res; > > > } > > > > > > -static void power_saving_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz) > > > -{ > > > - rtw_ps_processor(padapter); > > > -} > > > - > > > #ifdef CONFIG_88EU_P2P > > > u8 p2p_protocol_wk_cmd(struct adapter *padapter, int intCmdType) > > > { > > > @@ -1941,7 +1936,7 @@ u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf) > > > dynamic_chk_wk_hdl(padapter, pdrvextra_cmd->pbuf, pdrvextra_cmd->type_size); > > > break; > > > case POWER_SAVING_CTRL_WK_CID: > > > - power_saving_wk_hdl(padapter, pdrvextra_cmd->pbuf, pdrvextra_cmd->type_size); > > > + rtw_ps_processor(padapter); > > > break; > > > case LPS_CTRL_WK_CID: > > > lps_ctrl_wk_hdl(padapter, (u8)pdrvextra_cmd->type_size); > > > -- > > > 2.32.0 > > > > > > > > > > Also does not apply to my tree. Please rebase against my staging-next > > branch and resend. > > > > thanks, > > > > greg k-h > > > > Hi Greg, > > I always do rebase against your staging-testing branch. Can you help me to > understand.When we need to rebase on staging-next. Do we always need to > rebase against staging-next..! Yes, you should. When you are working on code that lots of other people are working on, there will be conflicts like this, and you just need to stay on top of it. thanks, greg k-h