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 42075C433E0 for ; Fri, 19 Feb 2021 10:12:21 +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 654A064E5C for ; Fri, 19 Feb 2021 10:12:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 654A064E5C 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 E5BEA605C9 for ; Fri, 19 Feb 2021 10:12:19 +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 7CNDVXX9qs-r for ; Fri, 19 Feb 2021 10:12:18 +0000 (UTC) Received: by smtp3.osuosl.org (Postfix, from userid 1001) id 7C012606DE; Fri, 19 Feb 2021 10:12:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id AFA596059B; Fri, 19 Feb 2021 10:12:15 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 0A78F1BF2CC 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 06E0A87479 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 4QvDhb2-fcwO for ; Fri, 19 Feb 2021 10:12:13 +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 E5E718746A 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 686FE5C00DE; Fri, 19 Feb 2021 05:12:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 19 Feb 2021 05:12:12 -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=8wWt+QaCRuvhJ jZdZ5q+HJZUxBW2732UrgjAA6FOeKo=; b=lx57ihM5UDpLPZBxD1DdCmkgVSLJ4 wkdk8oDr2fMK39BeF83VCzTtVEgvp9Gj02neVAmGPJRYJyVcJOYKCyJmODqWIrZl kEKWju7VAUGxKNoKKOFzuFg4A5Ko7WUpmwgqa7cIUTzlykKFc3s+lhPKx+RobPxW EINPLVCrbEG5c2NGMggCZmRwO7Q6t2e88Qe602pGDctHikldm8RtK8Bk/qWLQEBD waGqdWMnMxO76yzVCSsJqdrv/HnaGSj0LytpM71Adti42/jqggqlUnQR4pu3qxMv sHPyvOZKCp7ixXQ+OY2OZGwxidHjfDIL+qdR7zZX45NZ7Px9V9UXAXu6Q== 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=8wWt+QaCRuvhJjZdZ5q+HJZUxBW2732UrgjAA6FOeKo=; b=jpe7F7xZ 9dgKqFXOn8n1qf+Ku+TdTlIn2sxjpkXcfV9j4BcySTjT3KqipFAyqzry383+suuP UamxegC7w/nW5hhNuHav3blkvVuDnk6vPns2ERCTVdhc782VGxkpb3O20K9tLyHn YcC1oLnbbKRCVqjJIhXY50U0jZebr5hqEDkY6ZQxUvqnTUFPL0IWa0A7r8uST5QG T5nGTxLo4TX2CaH7EOpzAivR8gjci8FYU5tlvQoaIjkrJnjlxxT3dle7QEWdtiYr m8q0PvYf4MKJ0Sd5Va669z6ZpYbJscDI1bhtqIz3drMtDuY1K+5uokp94fx8xef2 in8HKcxU5p0Z9w== 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 E6ED2108005C; Fri, 19 Feb 2021 05:12:11 -0500 (EST) From: William Durand To: Greg Kroah-Hartman Subject: [PATCH 4/6] staging: rtl8192e: rename BufferSize to buffer_size in ba_param_set union Date: Fri, 19 Feb 2021 10:12:04 +0000 Message-Id: <20210219101206.18036-5-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 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h b/drivers/staging/rtl8192e/rtl819x_BA.h index a36e4488b849..af25b4850975 100644 --- a/drivers/staging/rtl8192e/rtl819x_BA.h +++ b/drivers/staging/rtl8192e/rtl819x_BA.h @@ -34,7 +34,7 @@ union ba_param_set { u16 AMSDU_Support:1; u16 ba_policy:1; u16 TID:4; - u16 BufferSize:10; + u16 buffer_size:10; } field; }; diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index b695a56a44b9..17520fcbc1bb 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -284,9 +284,9 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) || (ieee->pHTInfo->IOTAction & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) - pBA->BaParamSet.field.BufferSize = 1; + pBA->BaParamSet.field.buffer_size = 1; else - pBA->BaParamSet.field.BufferSize = 32; + pBA->BaParamSet.field.buffer_size = 32; ActivateBAEntry(ieee, pBA, 0); rtllib_send_ADDBARsp(ieee, dst, pBA, ADDBA_STATUS_SUCCESS); @@ -487,7 +487,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, pBA->BaParamSet.field.ba_policy = Policy; pBA->BaParamSet.field.TID = pTS->TsCommonInfo.TSpec.f.TSInfo.field.ucTSID; - pBA->BaParamSet.field.BufferSize = 32; + pBA->BaParamSet.field.buffer_size = 32; pBA->BaTimeoutValue = 0; pBA->BaStartSeqCtrl.field.seq_num = (pTS->TxCurSeq + 3) % 4096; -- 2.30.0 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel