From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C37FDC433DB for ; Fri, 19 Feb 2021 10:14:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7806E64EC4 for ; Fri, 19 Feb 2021 10:14:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230348AbhBSKOQ (ORCPT ); Fri, 19 Feb 2021 05:14:16 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35911 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230223AbhBSKNR (ORCPT ); Fri, 19 Feb 2021 05:13:17 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C386B5C00BE; Fri, 19 Feb 2021 05:12:11 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 19 Feb 2021 05:12:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drnd.me; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=Mz73eAg0Tgom3 FnYOEIdujkiBT59E7CKX+kBTaJKFfQ=; b=sU/tiqcgRhiaxkc+OIlU2PnfJ+9Hc AC1le14FCyHq7wJ/SpiaLGIf1z8jLaQ3B6Fs3Sk4oD8PQxfz+OziupAvyKUOYKMF mw7voclj4U7IvMbfI0aefQQpijuRMYhz309H51zVJV0ZBXiO4eGEXOMgZXfJ0A8/ pr6Q685HW3fz3bgTc0Zpxeb+X2T69Stfdwk8trJEujnznZIzIlDJ1wKaqky9jJr/ EMDXdyw2A9FwDFJYeQIKiqiyKjLd0tNq0Pts2ouwyrvD9kPU596Z2J312LWoe1Fs ezvyFDzEs7Ec9V3qxQuOmImxEcu0DgL/6anc5xefL5fUNvGJkWtF8GFtA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=Mz73eAg0Tgom3FnYOEIdujkiBT59E7CKX+kBTaJKFfQ=; b=Sq1M4qZ4 hDtmsawHmx2LGrPS0h2peb4/BCCPN6G7mZf0Qd29aXoBQoVnmNR6AT+7JiO1bNd/ ROH+vWK+qpCYE5kL9uxeNKZLCZqJmeHj5FVD35dddGVM9AUyQrRxqj3ZSZwsNhEI 918px+dSMvv05VoKNP/AehonHZFNkz6zRNGKMayodBTjOFOpnGbmKAOggNQ5YNzX FZgdCCxSkwDn9sLVDPxYeBSlYH+HXCHWI9KoRKU48WEmiOFighA00VjzfQEBsSMv dLhpHj8Qb93mN5osYJah8v5KLSnWWTHzZrP5e3gHfIBfJSGNQpMNiVEUK5pD7QWH RCHCZUbA/7Ycug== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeeigdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhephghilhhlihgr mhcuffhurhgrnhguuceofihilhhlodhgihhtsegurhhnugdrmhgvqeenucggtffrrghtth gvrhhnpefhjeelheehvdfgkeffieduieefffekleevudeuleffueevkeejveetgefhtdef gfenucffohhmrghinhepfhhivghlugdrsggrnecukfhppedufedvrddvfedtrdduleegrd ejfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeif ihhllhdoghhithesughrnhgurdhmvg X-ME-Proxy: Received: from vagrant.eduroam-fp.privat (ufr-132-230-194-73.eduroam-nat.uni-freiburg.de [132.230.194.73]) by mail.messagingengine.com (Postfix) with ESMTPA id 4E537108005F; Fri, 19 Feb 2021 05:12:11 -0500 (EST) From: William Durand To: Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] staging: rtl8192e: rename BAPolicy to ba_policy in ba_param_set union Date: Fri, 19 Feb 2021 10:12:03 +0000 Message-Id: <20210219101206.18036-4-will+git@drnd.me> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210219101206.18036-1-will+git@drnd.me> References: <20210219101206.18036-1-will+git@drnd.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes a checkpatch CHECK message. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h b/drivers/staging/rtl8192e/rtl819x_BA.h index 50e87ab1bbcf..a36e4488b849 100644 --- a/drivers/staging/rtl8192e/rtl819x_BA.h +++ b/drivers/staging/rtl8192e/rtl819x_BA.h @@ -32,7 +32,7 @@ union ba_param_set { u16 short_data; struct { u16 AMSDU_Support:1; - u16 BAPolicy:1; + u16 ba_policy:1; u16 TID:4; u16 BufferSize:10; } field; diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 1d6fa6cae61c..b695a56a44b9 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -267,7 +267,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) } pBA = &pTS->RxAdmittedBARecord; - if (pBaParamSet->field.BAPolicy == BA_POLICY_DELAYED) { + if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { rc = ADDBA_STATUS_INVALID_PARAM; netdev_warn(ieee->dev, "%s(): BA Policy is not correct\n", __func__); @@ -300,7 +300,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) BA.BaParamSet = *pBaParamSet; BA.BaTimeoutValue = *pBaTimeoutVal; BA.DialogToken = *pDialogToken; - BA.BaParamSet.field.BAPolicy = BA_POLICY_IMMEDIATE; + BA.BaParamSet.field.ba_policy = BA_POLICY_IMMEDIATE; rtllib_send_ADDBARsp(ieee, dst, &BA, rc); return 0; } @@ -377,7 +377,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) if (*pStatusCode == ADDBA_STATUS_SUCCESS) { - if (pBaParamSet->field.BAPolicy == BA_POLICY_DELAYED) { + if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { pTS->bAddBaReqDelayed = true; DeActivateBAEntry(ieee, pAdmittedBA); ReasonCode = DELBA_REASON_END_BA; @@ -484,7 +484,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, pBA->DialogToken++; pBA->BaParamSet.field.AMSDU_Support = 0; - pBA->BaParamSet.field.BAPolicy = Policy; + pBA->BaParamSet.field.ba_policy = Policy; pBA->BaParamSet.field.TID = pTS->TsCommonInfo.TSpec.f.TSInfo.field.ucTSID; pBA->BaParamSet.field.BufferSize = 32; -- 2.30.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08984C433DB for ; Fri, 19 Feb 2021 10:13:12 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9AB5664E5C for ; Fri, 19 Feb 2021 10:13:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9AB5664E5C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=drnd.me Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 344BC606F7 for ; Fri, 19 Feb 2021 10:13:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MVJXbr309fAC for ; Fri, 19 Feb 2021 10:13:10 +0000 (UTC) Received: by smtp3.osuosl.org (Postfix, from userid 1001) id 2005A606F4; Fri, 19 Feb 2021 10:13:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id C4D34606F3; Fri, 19 Feb 2021 10:12:44 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id C98C91BF2CC for ; Fri, 19 Feb 2021 10:12:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C61C98746A for ; Fri, 19 Feb 2021 10:12:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zppuMr2CA3YH for ; Fri, 19 Feb 2021 10:12:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by hemlock.osuosl.org (Postfix) with ESMTPS id BBC3E873C3 for ; Fri, 19 Feb 2021 10:12:12 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C386B5C00BE; Fri, 19 Feb 2021 05:12:11 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 19 Feb 2021 05:12:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drnd.me; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=Mz73eAg0Tgom3 FnYOEIdujkiBT59E7CKX+kBTaJKFfQ=; b=sU/tiqcgRhiaxkc+OIlU2PnfJ+9Hc AC1le14FCyHq7wJ/SpiaLGIf1z8jLaQ3B6Fs3Sk4oD8PQxfz+OziupAvyKUOYKMF mw7voclj4U7IvMbfI0aefQQpijuRMYhz309H51zVJV0ZBXiO4eGEXOMgZXfJ0A8/ pr6Q685HW3fz3bgTc0Zpxeb+X2T69Stfdwk8trJEujnznZIzIlDJ1wKaqky9jJr/ EMDXdyw2A9FwDFJYeQIKiqiyKjLd0tNq0Pts2ouwyrvD9kPU596Z2J312LWoe1Fs ezvyFDzEs7Ec9V3qxQuOmImxEcu0DgL/6anc5xefL5fUNvGJkWtF8GFtA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=Mz73eAg0Tgom3FnYOEIdujkiBT59E7CKX+kBTaJKFfQ=; b=Sq1M4qZ4 hDtmsawHmx2LGrPS0h2peb4/BCCPN6G7mZf0Qd29aXoBQoVnmNR6AT+7JiO1bNd/ ROH+vWK+qpCYE5kL9uxeNKZLCZqJmeHj5FVD35dddGVM9AUyQrRxqj3ZSZwsNhEI 918px+dSMvv05VoKNP/AehonHZFNkz6zRNGKMayodBTjOFOpnGbmKAOggNQ5YNzX FZgdCCxSkwDn9sLVDPxYeBSlYH+HXCHWI9KoRKU48WEmiOFighA00VjzfQEBsSMv dLhpHj8Qb93mN5osYJah8v5KLSnWWTHzZrP5e3gHfIBfJSGNQpMNiVEUK5pD7QWH RCHCZUbA/7Ycug== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeeigdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhephghilhhlihgr mhcuffhurhgrnhguuceofihilhhlodhgihhtsegurhhnugdrmhgvqeenucggtffrrghtth gvrhhnpefhjeelheehvdfgkeffieduieefffekleevudeuleffueevkeejveetgefhtdef gfenucffohhmrghinhepfhhivghlugdrsggrnecukfhppedufedvrddvfedtrdduleegrd ejfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeif ihhllhdoghhithesughrnhgurdhmvg X-ME-Proxy: Received: from vagrant.eduroam-fp.privat (ufr-132-230-194-73.eduroam-nat.uni-freiburg.de [132.230.194.73]) by mail.messagingengine.com (Postfix) with ESMTPA id 4E537108005F; Fri, 19 Feb 2021 05:12:11 -0500 (EST) From: William Durand To: Greg Kroah-Hartman Subject: [PATCH 3/6] staging: rtl8192e: rename BAPolicy to ba_policy in ba_param_set union Date: Fri, 19 Feb 2021 10:12:03 +0000 Message-Id: <20210219101206.18036-4-will+git@drnd.me> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210219101206.18036-1-will+git@drnd.me> References: <20210219101206.18036-1-will+git@drnd.me> MIME-Version: 1.0 X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" Fixes a checkpatch CHECK message. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h b/drivers/staging/rtl8192e/rtl819x_BA.h index 50e87ab1bbcf..a36e4488b849 100644 --- a/drivers/staging/rtl8192e/rtl819x_BA.h +++ b/drivers/staging/rtl8192e/rtl819x_BA.h @@ -32,7 +32,7 @@ union ba_param_set { u16 short_data; struct { u16 AMSDU_Support:1; - u16 BAPolicy:1; + u16 ba_policy:1; u16 TID:4; u16 BufferSize:10; } field; diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 1d6fa6cae61c..b695a56a44b9 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -267,7 +267,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) } pBA = &pTS->RxAdmittedBARecord; - if (pBaParamSet->field.BAPolicy == BA_POLICY_DELAYED) { + if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { rc = ADDBA_STATUS_INVALID_PARAM; netdev_warn(ieee->dev, "%s(): BA Policy is not correct\n", __func__); @@ -300,7 +300,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) BA.BaParamSet = *pBaParamSet; BA.BaTimeoutValue = *pBaTimeoutVal; BA.DialogToken = *pDialogToken; - BA.BaParamSet.field.BAPolicy = BA_POLICY_IMMEDIATE; + BA.BaParamSet.field.ba_policy = BA_POLICY_IMMEDIATE; rtllib_send_ADDBARsp(ieee, dst, &BA, rc); return 0; } @@ -377,7 +377,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) if (*pStatusCode == ADDBA_STATUS_SUCCESS) { - if (pBaParamSet->field.BAPolicy == BA_POLICY_DELAYED) { + if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { pTS->bAddBaReqDelayed = true; DeActivateBAEntry(ieee, pAdmittedBA); ReasonCode = DELBA_REASON_END_BA; @@ -484,7 +484,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, pBA->DialogToken++; pBA->BaParamSet.field.AMSDU_Support = 0; - pBA->BaParamSet.field.BAPolicy = Policy; + pBA->BaParamSet.field.ba_policy = Policy; pBA->BaParamSet.field.TID = pTS->TsCommonInfo.TSpec.f.TSInfo.field.ucTSID; pBA->BaParamSet.field.BufferSize = 32; -- 2.30.0 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel