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=-15.0 required=3.0 tests=BAYES_00,DATE_IN_PAST_03_06, 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 6E668C433DB for ; Fri, 19 Feb 2021 21:17:27 +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 0369164E38 for ; Fri, 19 Feb 2021 21:17:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0369164E38 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 8BAAC6072B for ; Fri, 19 Feb 2021 21:17:26 +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 KHMQaudT0e0T for ; Fri, 19 Feb 2021 21:17:25 +0000 (UTC) Received: by smtp3.osuosl.org (Postfix, from userid 1001) id 4AB5B6070A; Fri, 19 Feb 2021 21:17:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 317686071F; Fri, 19 Feb 2021 21:17:07 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id BAA281BF32E for ; Fri, 19 Feb 2021 21:16:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B7E6287518 for ; Fri, 19 Feb 2021 21:16:54 +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 MSl2fD+O3-cf for ; Fri, 19 Feb 2021 21:16:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by hemlock.osuosl.org (Postfix) with ESMTPS id 47F7687517 for ; Fri, 19 Feb 2021 21:16:54 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B96C05C0052; Fri, 19 Feb 2021 16:16:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 19 Feb 2021 16:16:53 -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=T7kZBWGtwlYfJ QzClfvANGxTmDmAS5OVF2+z7DXCfrU=; b=rc1n1qxEhBcFX6+rDndUncwhJjyew cFLY+Ck/iA8yfqO6LnNu4ZXFRHJH7uNqbnY7kNZaIAOaoDjMiFSJYvCkQ+t8FGk1 j94yL4ly26l3Qbczowh/UYkByYksrZZKJZuLghkIMnsuhTp7yD30zOw/geuFByq8 0C0YXCUYaxWqkY43KL0+IZ0t90/Y48+N4Vap0eS0ZKCO3Yt0vQuIAnoBp81iJxnV W3Hj7oxSJ4GNeL8cHjpe4qadBDVhJuqr8xcTUK8amLdCwRIxpb/NFgdp1aCEO8xC dOMAPD6kxX8dsrGwN52fUpTJCV8FB0DQXfedbfAufOd/vVmretDIEQ2gg== 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=T7kZBWGtwlYfJQzClfvANGxTmDmAS5OVF2+z7DXCfrU=; b=XeK+IZ6Z Jy47aywbBcRHhSDMnDyGgEw4QUpS/6arAq81sZydwUyOd1fVL9GWRsNN7vU8tASU KEgDJ/NXhA3mhvIvi12gYBRnB++Fo236wEb4DD7P1nzL+KrOIFJ72oQgGOrSYvC7 RIP/IgLBgCMid96kAJnRsiwv/7yNfuf0XP8UQBTGL5S5dN4x4wwvJyTylXT/wwVn 1NbOmsQ/r+4l8dq++Eneeb3ZE9hvOfTHXIo5p3cbfYcDTs876oJv5mGEM2ssnh4s 5vy/CI8uZAJ6QjWdZvHSV5Rk6ZelxO36siJNfDxFO5SkJtnrReM0CN7AA4LB24/7 LRUObDZIPPYZ8w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeeigddugeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeghihhllhhi rghmucffuhhrrghnugcuoeifihhllhdoghhithesughrnhgurdhmvgeqnecuggftrfgrth htvghrnhepjedvgeffieeivdefleekvddvudffvefhiefgueeujedvgfegfeelkeduffel ffefnecukfhppedvudejrddvfeekrddvtdekrdejgeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeifihhllhdoghhithesughrnhgurdhmvg X-ME-Proxy: Received: from vagrant.vm (pd9eed04a.dip0.t-ipconnect.de [217.238.208.74]) by mail.messagingengine.com (Postfix) with ESMTPA id DB6C6240057; Fri, 19 Feb 2021 16:16:52 -0500 (EST) From: William Durand To: Greg Kroah-Hartman Subject: [PATCH 4/5] staging: rtl8192e: rename Initiator to initiator in delba_param_set union Date: Fri, 19 Feb 2021 16:13:59 +0000 Message-Id: <20210219161400.29316-5-will+git@drnd.me> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210219161400.29316-1-will+git@drnd.me> References: <20210219161400.29316-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 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h b/drivers/staging/rtl8192e/rtl819x_BA.h index a482cb3b081d..f94ce2d7d166 100644 --- a/drivers/staging/rtl8192e/rtl819x_BA.h +++ b/drivers/staging/rtl8192e/rtl819x_BA.h @@ -43,7 +43,7 @@ union delba_param_set { u16 short_data; struct { u16 reserved:11; - u16 Initiator:1; + u16 initiator:1; u16 TID:4; } field; }; diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 46028f74776a..3594d432b2a2 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -141,7 +141,7 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, memset(&DelbaParamSet, 0, 2); - DelbaParamSet.field.Initiator = (TxRxSelect == TX_DIR) ? 1 : 0; + DelbaParamSet.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0; DelbaParamSet.field.TID = pBA->BaParamSet.field.tid; skb = dev_alloc_skb(len + sizeof(struct rtllib_hdr_3addr)); @@ -440,7 +440,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) dst = (u8 *)(&delba->addr2[0]); pDelBaParamSet = (union delba_param_set *)&delba->payload[2]; - if (pDelBaParamSet->field.Initiator == 1) { + if (pDelBaParamSet->field.initiator == 1) { struct rx_ts_record *pRxTs; if (!GetTs(ieee, (struct ts_common_info **)&pRxTs, dst, -- 2.30.0 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel