Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1104391rbb; Sun, 25 Feb 2024 20:46:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVlOVxSEW569rSIUrQdd2yn0VgoxA16ar+UdN7ksD28ARaw10ZK9aMQjALfZi5GrTHMW8rRdcfkioVDUqykXlvG2esj4ww45A78yMVhHw== X-Google-Smtp-Source: AGHT+IGi3P9tIXuczycUtSI5NRUdRfaXXK/A8AZ8SOOYs8O8qjxsXIviiC6l4PlPK1pEQpVQEFsp X-Received: by 2002:a17:906:3c57:b0:a3f:2596:790c with SMTP id i23-20020a1709063c5700b00a3f2596790cmr5015552ejg.8.1708922806945; Sun, 25 Feb 2024 20:46:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708922806; cv=pass; d=google.com; s=arc-20160816; b=tLNzmtmU6vqrgMPlT8ZNcEDZmxET1aXxGnJepC1thcPMJo4Lr6AfiHzQamCts5WMB7 K7fK1jPXvOgmOLpfWgg9NHiGU94cV84je0p1YLyGZSEQjOE+t5YQdyiADZVbHni4wloz 6hPHZdAOGAG2V0vPWA0rQW9AROnctF7mAEmHsjM2DGgW9C1r/Zp99RVSvzoCilAl/MEW qdeuniMB7pnTHLr0AQPMGoMmJPDBvxs3J1kzuN9xE2DWYEPPboMKioGRSayWC6QfJ2Xl 5RviPKrkTIsyhpM3LNG0RlVLi7ucFrIvpaIapORNRvHLuLWXtgioxWqpJyoEZAjLWbmR GHGg== 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=JY8iqPJEK5oTs16X2+XchY8uGKTkL/eHXG4E9OI6Gb0=; fh=moITh7GZyMk2HYRIMNDtWiHvaJVJfERAWzm7D5ksqcg=; b=x/6d6BvspNyZmx0t8M4dbxuWnL7YqFhN2inSc8bAUnubbnLPL3Q/LffCWrPmGKcP/R v9U54hZL1C2HHljeA5AnBdLtQ49EQE/Q08DZdj4mVaST1rk4w2MS5LpNdqCE/ef9eRto NEK+Yk3gkwB5M8zCmHfZDh8IYY++OxheIvWJafxSrlPwEaHneaVJnRE/jis9xhK3GT3y MPp+GLIsRRkE6DSmfcAouBaJsUfmJr4DWr5EA7Fv7suWBjFt7BfDAlpmyssRa/sJQMWs njbJ/UoaNOPT2Sbu51EPTzuyyM86cCCapbXODeiMXLcudrVD26Ml2WRU8T3ExQ7NXx3j TLgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=lK1d6vAn; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80488-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80488-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x25-20020a1709065ad900b00a43381a2187si794662ejs.852.2024.02.25.20.46.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:46:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80488-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=lK1d6vAn; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80488-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80488-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 220701F21E8C for ; Mon, 26 Feb 2024 03:57:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3FD91C2AC; Mon, 26 Feb 2024 03:56:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="lK1d6vAn" Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (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 797AA1BC37 for ; Mon, 26 Feb 2024 03:56:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919794; cv=none; b=pr8mbI3F+ZLAaeH+CHde3cs7iFc+cov/WLfLHvrCYX7Z7qdzJ52zus8uhNt2xXUQ8dWSL4bip305smEzOFl25DBPXwLeydz6PbT0CiIc5rdHY4zWq+3xvRSbcsnd9/NGRhnvg+2d2Pje/AB/XM6HvOq2SjFHutxDQX5arU99pLk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919794; c=relaxed/simple; bh=Zhnubnov9j3g8AyIMp9VZ9sMhMszfUL6EZW6yyAZ+50=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DkCIXHpHgfo+N08j7Aa3cTQwpSTJ0M07wLw4ZxZhYMQr+qdBap/slK9jJFQe/+VxFPGnnrYeXBSHAbmV9PAX+1/C7RWw5GT+bskhz5oqXCqmwdvmg5OwbBlUnWMOyC/9s/v4sFYsPe0yEt7v6nmtpxdt+NMtnN43eFZyVb7ifL8= 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=lK1d6vAn; arc=none smtp.client-ip=209.85.215.170 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-f170.google.com with SMTP id 41be03b00d2f7-5ce6b5e3c4eso1987701a12.2 for ; Sun, 25 Feb 2024 19:56:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919793; x=1709524593; 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=JY8iqPJEK5oTs16X2+XchY8uGKTkL/eHXG4E9OI6Gb0=; b=lK1d6vAn4KoKMVQ637hZL2VE1xVWdNCjsg+1+75yXg5gQAePp1KlFDI69ZnMJBQ9W/ yfCdHZYku8nf16dhxGmRmZUNE1jtm3oZHi44zJnqy79B2U49D4/SdinVbNZCs2AOdlBJ m4UklZTA0HIiSq4guRVfquaOh9TA9VwiPrlp6jHctsC9LN1+lTYnM7iuhman7Yg2mAOg YZ/1wznVIZVz8QLIuQm/+U+NCUXi+pEuyD13mgipYSiv9PnU6Z32v5FjxLMVgtE8iaiT bnU81iP0y16ulxoDfRdTkBrUBV+3T8jLxhvUMkPPPLG65rDImOaWokab8hDHQRiR2Rhq 0mtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919793; x=1709524593; 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=JY8iqPJEK5oTs16X2+XchY8uGKTkL/eHXG4E9OI6Gb0=; b=iChmOIkgK+OrKIUH03PtUJrNYmMAcyoeNPnA+IgoS/wyv5juB5pIQ15n5Jil2IHYhW 4+TP77zBywlgJtmqL6CqXzDM+FuHbqHOFvUdBCIitprew6M0HIIHcgZv7MqEvXUjX4il ZSyoNzBo3PBmXH2upgWOyGWAcabAXVPeqGeaUlDI9zDtfoppXFtTE6WxxFq5jlGj1YpR hSS9vXgX7YYKfE/oNGsS2qM4g7n3B+ePESsTSCHhgDy0cDMdA5yYnHY2FbucSMkXJ2CH ++Iulz06NJycp2SCPeyWOcFnykryQGFSrHCNwm8Nu+WGrNOKqAUFbul1rLi614rw3i0A dHIQ== X-Forwarded-Encrypted: i=1; AJvYcCXu3A4k4US3uQCWHrr1uTnu7ax0+sVYVRht1whglYDU8W0m8AsVD965W7ooT7pDnCONYSkdzVGxOzZSK2kNeRBaeKCulbs+Rz4l/v1W X-Gm-Message-State: AOJu0Ywj9E+tyQpni0vVrRrjDOEQwP19janOz3knd8pklY1JuNLa79kh 8rM4msxzgx4yD7N3NQOW7z35KjrIrPk2RrVeFg97tvF1ytVjqS3a7nlEuXUSniv1fUGZ2gV5Lvv i X-Received: by 2002:a05:6a20:9c89:b0:1a0:dfc8:9204 with SMTP id mj9-20020a056a209c8900b001a0dfc89204mr5098142pzb.2.1708919792922; Sun, 25 Feb 2024 19:56:32 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:56:32 -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 06/20] Staging: rtl8192e: Rename variable osCcxRmCap Date: Sun, 25 Feb 2024 19:56:10 -0800 Message-Id: <20240226035624.370443-7-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 osCcxRmCap to os_ccx_rm_cap to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib_softmac.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 9255eed85141..fd4bf3486804 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -840,15 +840,15 @@ rtllib_association_req(struct rtllib_network *beacon, if (beacon->bCcxRmEnable) { static const u8 CcxRmCapBuf[] = {0x00, 0x40, 0x96, 0x01, 0x01, 0x00}; - struct octet_string osCcxRmCap; + struct octet_string os_ccx_rm_cap; - osCcxRmCap.octet = (u8 *)CcxRmCapBuf; - osCcxRmCap.Length = sizeof(CcxRmCapBuf); + os_ccx_rm_cap.octet = (u8 *)CcxRmCapBuf; + os_ccx_rm_cap.Length = sizeof(CcxRmCapBuf); tag = skb_put(skb, ccxrm_ie_len); *tag++ = MFIE_TYPE_GENERIC; - *tag++ = osCcxRmCap.Length; - memcpy(tag, osCcxRmCap.octet, osCcxRmCap.Length); - tag += osCcxRmCap.Length; + *tag++ = os_ccx_rm_cap.Length; + memcpy(tag, os_ccx_rm_cap.octet, os_ccx_rm_cap.Length); + tag += os_ccx_rm_cap.Length; } if (beacon->BssCcxVerNumber >= 2) { -- 2.39.2