Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1093983rbb; Sun, 25 Feb 2024 20:07:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW6V0b+3b7gOOHzLal29qGavvMRYieXYINB+dPQCw8FOwEkDDDBTvh35xb9AqYT4lbwQEsK51y4Tk4vkCZ6jElY8PbmO1ywPzQ79sSaBw== X-Google-Smtp-Source: AGHT+IHG0XS6UCy+XykqiUoERAh1TuYH1cf964EYgM91xx0LAgC2+PBwpr4Tm26Fwb8cMf33oug8 X-Received: by 2002:a17:902:a384:b0:1dc:7923:a9e5 with SMTP id x4-20020a170902a38400b001dc7923a9e5mr5002679pla.39.1708920448717; Sun, 25 Feb 2024 20:07:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708920448; cv=pass; d=google.com; s=arc-20160816; b=XqLa0MHqEfOSWisgh0Mr0BMeLliHl81f1Bk+N1ShaOu1ecvdDKYOHoQnrr4awZ+0GV 2OFhbw8fblOBZLOEIrb5bvlF8M+xvcu4l3uiVNbDicdY3khQAhbO7B/cldT5W1eXUl/w 0VzdA0NcFi74orPd9XX3YVO+B+w3/h0eMBHV7gsP4fcoQpals5yzKJjQnwLcbW/FE31C 0Y8F5xfS2Q6JvB7g90RyR1ZqP05omq9q+wacQhnoGngzEUXQAH51LuHAuQR2FeHJtwJM n6IvQ7aDju0EQEgY7C10ElPhbXJTTdeXvo6mdMTY1DXLOXSH4A8BZZuFxJM+cwTZCtUb CY3g== 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=dltjxfxWlIXrn+4WrlfjIjhm1kDm0y+Q0IFjKykPQVs=; fh=dT3Hp0k1uYMT2ldm0pyvVYmqMI2qXFST5IZo4VOZk+E=; b=Q1bPGPJrBg4Uji8j4eeA2KREMgvDfYbgQA8r3Dp+WgKny6Pq4IWNpnKCfu6XkSKTCd ExQbuvKjov4tmU/Jv5SJfUe/gYRfLDN2Vc+mpPeHfh/dWy/LQRK1WmJEcTypcdhwDl67 7G2VQyaRsdcUE6/4Gh3GCtCLAiLW11dEqqaGPiZahfvPgHfVdXnZY53LvjySbguzpzzO /UGMf52+u3r11ubZS6mmfDzPBfI1irP/aUhRT9DRhzteQYfhJSD6rd/dAE7dd7xt2VuO QEXmiLbQ1FCq8Vo/33pduaqmDcjXU0eFC5yuX+mtTAQZgsrA5z2WdPOjoEuFNix7KoeY aGOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=dOy7HIm8; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80496-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u16-20020a1709026e1000b001db5b4036ffsi2969129plk.91.2024.02.25.20.07.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:07:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=dOy7HIm8; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80496-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5DCD8B22340 for ; Mon, 26 Feb 2024 04:00:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C50C1F608; Mon, 26 Feb 2024 03:56:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="dOy7HIm8" Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) (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 067351D52D for ; Mon, 26 Feb 2024 03:56:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919802; cv=none; b=WYoaiEZlYbK3ads+aydKj5PdL6atOn5kz3MuFkv9rQ2OwUkOeDHTw5PhkpXQDSn9dnQ9cIgbIQOeaYE5wLV1scIpw55vojj1dOYkzYUpHjVR6KtFcOcCEieGag2j9MjhLHc0VfOpSxPOcWh3SUEll0OiDYeflwCcdT/bawK9Hrk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919802; c=relaxed/simple; bh=PU+r0O6S245XpV+Rs9xKJAijgXkkWYRIGOWMDo/7qWE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=J3KIEGeZnguU1PEeNTITfPQPStn4Djb4iUTZOvE51xBP2/0aoLvKDob4LfyxxNMdgt675AmNe6MtCgdmXHi/6MmwB45bHnW0hq39plaewFnknkKWzal5XD2Jh1uSfLfFlzFXysTkUv4nUM1F59uoKXEC5EqYS7aN5iWNsWMZmAU= 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=dOy7HIm8; arc=none smtp.client-ip=209.85.215.172 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-pg1-f172.google.com with SMTP id 41be03b00d2f7-5d4a1e66750so1563720a12.0 for ; Sun, 25 Feb 2024 19:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919800; x=1709524600; 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=dltjxfxWlIXrn+4WrlfjIjhm1kDm0y+Q0IFjKykPQVs=; b=dOy7HIm8PfxiCqUXoP+trCwbg/GXPg8+8t43FQRtJXksqBVBNH66rBeB2fKtP25IIW rhdh5OEC06sqU2TvHJ9s3jPttJ3tXDHym7+3g87P/gvNJX1yQp5R46aPNVvlatUBpqD4 tRuIbyI+TUzSsRpwVCnMlZaaVZfq1a2h39JguuRwOl3brLK3g3hJ+IH6JQgKxx+4ae6O 2HkQbhBfKisALrbXeAY44240r901c2epw+gmqxCOF08J/g9t5Mz4HGrpR3GP4rbFn+6A y0ciCLfcG/k6Ap81brFShSHn44kxzCiMbnMuQWiUKJJnq+SdRqm2t6I4IeHHW8OADaf3 pS1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919800; x=1709524600; 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=dltjxfxWlIXrn+4WrlfjIjhm1kDm0y+Q0IFjKykPQVs=; b=dREwHJUz1K3xF1VRKo1CZzr/tS9nifhQFaVAqwlab/mhSV1z+8rpwW0x5lcY/OQrKA Tzmc0D3Rgvt92fG6nPUykr+K61+MyunqLK3Ux60jWpkGstjh+nWnpvPbANrlJ9k7eVjP EQJv95p2kQa0WMPtWXTVcWHb1u/RNJJ2A7Cb9Lzja4/Qh7k20PaLB18eUvP9wyKjCLUR kvGtBFrn9a+4GMP5xTJOEwZHyy99c92jNR0j96g7viShjGsvtqoE0yrjPiGFUnbthcrF K0xoUBoeOyXcOoGwQqQghFZahlw1OvBBalpp1y2ve/10yYbCEsKRRsjn/K/nqXsJVn0E rJqw== X-Forwarded-Encrypted: i=1; AJvYcCV/77Vt67VeLiTEoKmA3mQp13UYEathTU2XxRYQhUBzu88b8daksl1vBS/NPO2pmbG4UlOnm0GQcizEkJVO+vNlN3tiH8cVVgE5KqE2 X-Gm-Message-State: AOJu0YwPo7zrtShDKlgxq3aaV/xy29cUUW/hPhrPE+YE1qKz8+LO3d1G o5xkwwumnzjl9Prd6exVXUoxir4mkKFGbvuo+dmAnaqZ4MSNc4pqvOpBUgXad1w= X-Received: by 2002:a05:6a20:5a21:b0:1a0:d2ca:d3b6 with SMTP id jz33-20020a056a205a2100b001a0d2cad3b6mr3090933pzb.34.1708919800343; Sun, 25 Feb 2024 19:56:40 -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 kh5-20020a170903064500b001d8a93fa5b1sm2897615plb.131.2024.02.25.19.56.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:56:40 -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 14/20] Staging: rtl8192e: Rename variable osCcxAironetIE Date: Sun, 25 Feb 2024 19:56:18 -0800 Message-Id: <20240226035624.370443-15-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035624.370443-1-tdavies@darkphysics.net> References: <20240226035624.370443-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 osCcxAironetIE to os_ccx_aironet_ie to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib_softmac.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index ff912cdac9bd..68194763b20c 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -820,21 +820,21 @@ rtllib_association_req(struct rtllib_network *beacon, if (beacon->ckip_supported) { static const u8 aironet_ie_oui[] = {0x00, 0x01, 0x66}; u8 CcxAironetBuf[30]; - struct octet_string osCcxAironetIE; + struct octet_string os_ccx_aironet_ie; memset(CcxAironetBuf, 0, 30); - osCcxAironetIE.octet = CcxAironetBuf; - osCcxAironetIE.Length = sizeof(CcxAironetBuf); - memcpy(osCcxAironetIE.octet, aironet_ie_oui, + os_ccx_aironet_ie.octet = CcxAironetBuf; + os_ccx_aironet_ie.Length = sizeof(CcxAironetBuf); + memcpy(os_ccx_aironet_ie.octet, aironet_ie_oui, sizeof(aironet_ie_oui)); - osCcxAironetIE.octet[IE_CISCO_FLAG_POSITION] |= + os_ccx_aironet_ie.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); - tag += osCcxAironetIE.Length; + *tag++ = os_ccx_aironet_ie.Length; + memcpy(tag, os_ccx_aironet_ie.octet, os_ccx_aironet_ie.Length); + tag += os_ccx_aironet_ie.Length; } if (beacon->ccx_rm_enable) { -- 2.39.2