Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1414521rdb; Wed, 24 Jan 2024 14:57:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFat2/kp3h4C6PMK5jeAFnbWnBpMrN4U57Skf2DQgxbjWK6fGqiheOhDvF16fCG7Mwva68X X-Received: by 2002:a05:6a00:1825:b0:6dd:7b4f:bdb0 with SMTP id y37-20020a056a00182500b006dd7b4fbdb0mr279940pfa.57.1706137031835; Wed, 24 Jan 2024 14:57:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706137031; cv=pass; d=google.com; s=arc-20160816; b=gqsR8A/KGNoUZ7mpBoRFID7gm+7oj1AVQfkAQJgfcIR9JrR97OcYDd7vDVR3ffP0q0 5WNhR7hidF2jiPN0nHU0kDvU40bV6Ih/W+KikHaf+qKRTA+iGwkloWsAZkHh9ziIg0Z9 2n+BPoJHwlhACGqTlNggm3tBx3hnk1OJ2ec4BjjLevOkg6ddlzaYHzZH9AtuC2j5fsNA qzVpRJQsmg7zsaJ3fKEWO7jbkON5sKDDRjQnxca367LI0HfhFcSuaHbTnSln66A+ztam M2mrxygMZVi4G2CyRbL+j2rYgjBn2eM4IMcaIBWD8w8KfiswBPTx+fCFK054NpSvMOKX H3aA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=EBPudamBprV8WQHg9cEsc7jdDIfPIVmpPvPejAN2DrA=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=hdBNvc/vF8kyNZEm38iO8iZImK8jk8xGHUiOIh7v+wENquXtzrXFBTTtzHqcVRLxMg /WtYFlqXFNbwke3aGaB5xMxdN83k32RrM7QD5rMHdkxCiXlkOkRqngnuQ//RgeXs1ZRK XWCUiqp2ZkYgTheAfOqt2Rdl9HU0bXQYvjF4Lw2eHR9cQx68C/Meg83XL8vDlTKtBXN1 kQNUYCL9xgzVvrBY2sbHCCR6i+kbpNOqyJag7kOXjeJWyxSTmNhunakRHgvtuKn3ku4n Q5UWKp/VzHeuaoXeoGxlabQVoIWMI64UgQewWM2dHt819bTM9szDlJGRbKvNQcfMq7aB 4hrw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=VNBaC+8D; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-37780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37780-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z20-20020aa78894000000b006dd80129c34si3125324pfe.298.2024.01.24.14.57.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 14:57:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=VNBaC+8D; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-37780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37780-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D5607287D85 for ; Wed, 24 Jan 2024 22:48:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D01EC13D4F5; Wed, 24 Jan 2024 22:45:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="VNBaC+8D" Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96B461386DA for ; Wed, 24 Jan 2024 22:45:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706136311; cv=none; b=OIWnAPzz7LhIAbCmo0UTSFTbRSrly+iz5ulKPPCx6uCColu15IoTBugHsrFoaaiIH0Udi0KtmW/bwnmuLfDB34HpA2mKw9uykpUjh1uOsjZVPtUP/J65avReW61PX7Jk2jOCUwfyh+B9uBrg/3ZOe6f/9qNQbIvUmQ0PteXWDzo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706136311; c=relaxed/simple; bh=k5ksk20LekzjDVXZmHyF5qRlDgyHicjEbCn3PLaBcOQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FTscImQuL3JG5OEM2SLqPD8b12/88umRkT+3VTamKtD0oTd8jpcE8+GvYdfI0sLK1AOWhkhPkqIpJFM2+1raq/b7NAO6BKeTf+NGlcNRQG7URBwHv4793q/sjyRkIKsPuTyRyGpUzeaGeaC3rFTEJSQkAH0kSAZ95YTOUK7NrPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net; spf=pass smtp.mailfrom=darkphysics.net; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b=VNBaC+8D; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1d74045c463so29283265ad.3 for ; Wed, 24 Jan 2024 14:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1706136310; x=1706741110; 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=EBPudamBprV8WQHg9cEsc7jdDIfPIVmpPvPejAN2DrA=; b=VNBaC+8Dp+Dtfv6CGWZ1+jtAU4cm7TYeORIq7TCzna+Xjq0pdrNv3IhW92kF77pFHD +zNupQ4OLNONTOcoT9U7FWzJgTIALa8e4BJ/3bX3MhddooWMZfgYLa07rviEQqoi7cKL H+35XpLApC6zulXzX5AduFhGk1CWEeNwiQPP21v+O8Gnq1eie3Y4uvd48w+nA41RENov HNoJgXEIXyULrUzcc8expHFP1vRqytv4i58T9983y0Y1kxD3IpZ2nimWnoUNUGUR/Alr 0VmW/00Gb3sKXu/pAORLG2flD/P4yrremkMxA6kbhcEGE5ekCysLhhZJRzuwKFuthzrP y1JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706136310; x=1706741110; 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=EBPudamBprV8WQHg9cEsc7jdDIfPIVmpPvPejAN2DrA=; b=jhTRYBq7r0w/kRi64XKsnqEEQyp2p66gapyMDvbIzqj2Gu24/3dLlsDOj9YCVwzsIL r/FcX+vSL/0Fj+QwSVSWfpcF8S0GtnGss7TWV7lPMWX3wOg8mLX3RIsU1+QWKQXgF6PP F6VfDZxoqpMfOvb3z0I6QgeBGLOAm/pTVT2eMs0HaocC+xlKbDBNZ5UHchR7Q3jDcSsX 2EG2vDRaTkL4k2GGOIgI/4x+wG8dEq76fKF8b3JF0gsMoQB0zcMdffw7r0QmmlXcrs8r zhTK8kmRbKkrUnjbPpFmmbDdghmswtBTPas4cjuOIkn2xRX7UE/DITnEHbgxtLfCqIeZ xcSg== X-Gm-Message-State: AOJu0YzNg3PfQxOL+frW9uDq9+qyLkaCwBz6botF2JDzaEHaiP4TLZ21 +dlGF7EkRBsRyb5voE+M2JnKsuQT5IVALD5NzSHSkKvQz3nP2CVSw96940KG16w= X-Received: by 2002:a17:903:24e:b0:1d7:5bde:7c2f with SMTP id j14-20020a170903024e00b001d75bde7c2fmr69425plh.21.1706136309783; Wed, 24 Jan 2024 14:45:09 -0800 (PST) Received: from oatmeal.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id i5-20020a170902c28500b001d73a2acc0csm6743987pld.283.2024.01.24.14.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 14:45:09 -0800 (PST) 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 15/18] Staging: rtl8192e: Rename variable Octet Date: Wed, 24 Jan 2024 14:44:49 -0800 Message-Id: <20240124224452.968724-16-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240124224452.968724-1-tdavies@darkphysics.net> References: <20240124224452.968724-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename variable Octet to octet to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_Qos.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_Qos.h b/drivers/staging/rtl8192e/rtl819x_Qos.h index 50e01ca49a4c..dc991100742f 100644 --- a/drivers/staging/rtl8192e/rtl819x_Qos.h +++ b/drivers/staging/rtl8192e/rtl819x_Qos.h @@ -13,7 +13,7 @@ struct qos_tsinfo { }; struct octet_string { - u8 *Octet; + u8 *octet; u16 Length; }; diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 5281138ad468..e47292455585 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -823,17 +823,17 @@ rtllib_association_req(struct rtllib_network *beacon, struct octet_string osCcxAironetIE; memset(CcxAironetBuf, 0, 30); - osCcxAironetIE.Octet = CcxAironetBuf; + osCcxAironetIE.octet = CcxAironetBuf; osCcxAironetIE.Length = sizeof(CcxAironetBuf); - memcpy(osCcxAironetIE.Octet, AironetIeOui, + memcpy(osCcxAironetIE.octet, AironetIeOui, sizeof(AironetIeOui)); - osCcxAironetIE.Octet[IE_CISCO_FLAG_POSITION] |= + osCcxAironetIE.octet[IE_CISCO_FLAG_POSITION] |= (SUPPORT_CKIP_PK | SUPPORT_CKIP_MIC); tag = skb_put(skb, ckip_ie_len); *tag++ = MFIE_TYPE_AIRONET; *tag++ = osCcxAironetIE.Length; - memcpy(tag, osCcxAironetIE.Octet, osCcxAironetIE.Length); + memcpy(tag, osCcxAironetIE.octet, osCcxAironetIE.Length); tag += osCcxAironetIE.Length; } @@ -842,12 +842,12 @@ rtllib_association_req(struct rtllib_network *beacon, 0x00}; struct octet_string osCcxRmCap; - osCcxRmCap.Octet = (u8 *)CcxRmCapBuf; + osCcxRmCap.octet = (u8 *)CcxRmCapBuf; osCcxRmCap.Length = sizeof(CcxRmCapBuf); tag = skb_put(skb, ccxrm_ie_len); *tag++ = MFIE_TYPE_GENERIC; *tag++ = osCcxRmCap.Length; - memcpy(tag, osCcxRmCap.Octet, osCcxRmCap.Length); + memcpy(tag, osCcxRmCap.octet, osCcxRmCap.Length); tag += osCcxRmCap.Length; } @@ -856,12 +856,12 @@ rtllib_association_req(struct rtllib_network *beacon, struct octet_string osCcxVerNum; CcxVerNumBuf[4] = beacon->BssCcxVerNumber; - osCcxVerNum.Octet = CcxVerNumBuf; + osCcxVerNum.octet = CcxVerNumBuf; osCcxVerNum.Length = sizeof(CcxVerNumBuf); tag = skb_put(skb, cxvernum_ie_len); *tag++ = MFIE_TYPE_GENERIC; *tag++ = osCcxVerNum.Length; - memcpy(tag, osCcxVerNum.Octet, osCcxVerNum.Length); + memcpy(tag, osCcxVerNum.octet, osCcxVerNum.Length); tag += osCcxVerNum.Length; } if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { -- 2.39.2