Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1831452rdb; Thu, 21 Sep 2023 00:09:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFESGmRaXt7rxN6X8Wh9ClovHgo/UCBL/direcvrrBwMiSbxzTiLLu8gSa0RWHFHeFcsmeR X-Received: by 2002:a17:902:7590:b0:1c0:ecbb:182f with SMTP id j16-20020a170902759000b001c0ecbb182fmr3888043pll.5.1695280196935; Thu, 21 Sep 2023 00:09:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695280196; cv=none; d=google.com; s=arc-20160816; b=04vqElo/RTZ/DMvLVgwt0d02HYHpCwJ6PJ1CdkXgQVfGSDtu+M+35KOUt8gNIFGl5x i0vugNfFQOSvxaVXmPu1J+N9DTR2rF6ZPoiR7qrCUjHBWa0JUiI9eKkwkJu8TLD3J6RI +Z89CbqQQnWKnXyVRKuGA6GuaDDCFdV1j+LO/+XJJokBoCurnydq7F63oWtqAni+CrAw Q6RoR/b1Dy6IFbi3dwEhVCpVG3HO4TWMN9QTx3rCjP2Q3cAgJIMbrDkeKvpRDRXSJy30 Jd/PoP/MK7eNkpidzv/Wb20MNiP/ucxOSoOAcJNAIhxoOF6Xb0D1nskmVvZ1safy6cU5 30eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KASEbjcOhE/m7ePWr35T+nD0DZh8w9pj8YmAibT9zBE=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=ZFZXs1UBmOkuwTWis8x5z1WcJWJUXfDH6qtIDVZ+Hv43VOJ3IQbBQOoRZGkcxSJ+lF w43iH0k/p0Z1IptCKyv5Taw8noQwAWEOagOzpY7jR0m8R48x41vIrhfC1BZQc52bx8Zn jeJ+YGzX/tFsvGXumgyHGYNXoLVxNBF+9Qf7Y5vdyZhZqMdbvCiakevceuoE7mxcDiUb sorx8oma4Ip8X+X6Lcc8UgTVqMBsIoLy2GM89pVj9LvwgoNn7WGqe/cx+tLax/mRUKGR w+vkllcXUDqkX892ltw+Fw8Q+k8IZjTy/gbvwTXVFuHdwmFZTW88nck6EMcv2AaWi9wo sKHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=hNAajZRp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k15-20020a170902c40f00b001b895572179si866294plk.184.2023.09.21.00.09.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 00:09:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=hNAajZRp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E1A3781D80B0; Wed, 20 Sep 2023 20:21:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229633AbjIUDVv (ORCPT + 99 others); Wed, 20 Sep 2023 23:21:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229532AbjIUDVf (ORCPT ); Wed, 20 Sep 2023 23:21:35 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 259C6ED for ; Wed, 20 Sep 2023 20:21:30 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-6910ea9cddbso228292b3a.0 for ; Wed, 20 Sep 2023 20:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1695266489; x=1695871289; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KASEbjcOhE/m7ePWr35T+nD0DZh8w9pj8YmAibT9zBE=; b=hNAajZRpN/j7OTBmmEOsslZL/RwA4LKVgdN729fgXLPrjw/d1yFgyTmk7qqa6bW/OV K6xUmNqOPls2BGUEmv3XG6DjQmD3wBmJpsYIQ42JGojhW0zy+93WZScQIoudAi+V0/FB lR8aRtqxwgOOEM9ra4fwRyh+bvoADdQGoAWmXMu9Uz+bg/82b3qzFNZC0DbvLDYeXNpx quur/DiN79JYJD1dE1trVy5XMGJ8ivRxBnsjt9iTM2taTzbJVRmy4R3dzYtJh1APfxGo /8720ywWUG6vLGinNxEfiVMCprxG6SCl5Vnq/qtMOsn0YAqHr+F+Ar4QlvFLuxLyX8wf 6TDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695266489; x=1695871289; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KASEbjcOhE/m7ePWr35T+nD0DZh8w9pj8YmAibT9zBE=; b=gAefh1nfYpTeN4MCGJ/s7ibw1XZnODr/56z7ZVmwHWGKrTUAcfZy8gNkJy/kf4mFpf ZgFmmzvqsOfYsc5p+DeY2oAxBurc7MNBVcFEh3CBJsJ7LUiNrmqUUhzj/JweWSZwQ0MV hRFg5CbAkfhh1dvUnL/x9Hd3ldBtnTspt6W0VqTl1Zv5ZwCZmKpDRm9etxpJiQLZEcHS 83eXSIPPBRWbypC/ywcyp14xBu/0nPQ6saSqGMddCEhe/hObe8wkdqxJg/u+mcTEFQnA CEWLkeOiu6sYvb/6ODUiyGwhsH2vuockQQ8CN402oL6MBuj8+HundL/oBl6zlf2dgX57 8yiA== X-Gm-Message-State: AOJu0YypHGSG9QpSy6C+ld9cjgRL0E+qeEOZjSBaYwkcA0Dre9iqrUJn 3ItZklUBUB8LfotYkFOgCx601A== X-Received: by 2002:a05:6a00:248f:b0:68a:53e6:1fed with SMTP id c15-20020a056a00248f00b0068a53e61fedmr4872695pfv.23.1695266489689; Wed, 20 Sep 2023 20:21:29 -0700 (PDT) Received: from basil.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id p14-20020a62ab0e000000b0068e49cb1692sm237324pff.1.2023.09.20.20.21.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 20:21:29 -0700 (PDT) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 04/11] Staging: rtl8192e: Rename variable Dst Date: Wed, 20 Sep 2023 20:25:08 -0700 Message-ID: <20230921032515.96152-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230921032515.96152-1-tdavies@darkphysics.net> References: <20230921032515.96152-1-tdavies@darkphysics.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 20 Sep 2023 20:21:56 -0700 (PDT) Rename variable Dst to dst to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 5642e7788e42..621dbca7716a 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -63,7 +63,7 @@ void rtllib_reset_ba_entry(struct ba_record *pBA) pBA->ba_start_seq_ctrl.short_data = 0; } -static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst, +static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *pBA, u16 StatusCode, u8 type) { @@ -73,7 +73,7 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst, u16 len = ieee->tx_headroom + 9; netdev_dbg(ieee->dev, "%s(): frame(%d) sentd to: %pM, ieee->dev:%p\n", - __func__, type, Dst, ieee->dev); + __func__, type, dst, ieee->dev); if (!pBA) { netdev_warn(ieee->dev, "pBA is NULL\n"); @@ -89,7 +89,7 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst, BAReq = skb_put(skb, sizeof(struct ieee80211_hdr_3addr)); - ether_addr_copy(BAReq->addr1, Dst); + ether_addr_copy(BAReq->addr1, dst); ether_addr_copy(BAReq->addr2, ieee->dev->dev_addr); ether_addr_copy(BAReq->addr3, ieee->current_network.bssid); -- 2.39.2