Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3100979lqo; Tue, 14 May 2024 22:26:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXR5t56RnqbQU0FeqDK1ceSA3OgBCC398PFU2fgkxBlrrHuq/bfGt5jr7T8v1JEwPPTpiGpSNaBIEmLDbKrR1PgqgxZn1yFwCzuuxHyRA== X-Google-Smtp-Source: AGHT+IFtyd1Q5ljUCLluQNprKyiuqtRAE1cS80TpbL1SLomiSDfVGbppP4LjsDDX5Ri/ofvo4ZVf X-Received: by 2002:a17:903:40c5:b0:1eb:5b59:fc1e with SMTP id d9443c01a7336-1ef43c09559mr231252845ad.13.1715750765253; Tue, 14 May 2024 22:26:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715750765; cv=pass; d=google.com; s=arc-20160816; b=waX5lt3aNWeL3p15gh/lIRYupcoeG4CB4GCmZ6QkV5+lCC+puPToODXRh2zBlAAzBh bwSp1yL0h02wm7nEKeIJNxDfkRjIvtT0lgOexflnST9VDmk8fM1a5tz9n5oNiMvEppNQ 3orB+cC70qZ+sGU5QvyrXwbOgoh6TgRAbsjh1KArWc6B7fcOyGUdE3mn/Q/PKbB/yo/2 BHTVgVA+xqtuj5EgjYBj5tkE3DGGwiFTrNl1XaCLQ9IUnilYdIWP3sxuEnojFu8J4c1y njezpPafcCGeok+6sscTwnmDcAgbWJHEuAI7FU+YH13WfGuVKgl3wB9LnyqKutkAjTD+ HmXA== 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=zj4L/CHdV/htnUT6J3pcKdpL1c2PJObvzofLSI2WZDA=; fh=WEMc8cUPunWG/MeBN9iyik2VUzdmAl6pUCzRn+XScUo=; b=a+Nvups1dIwbn4JZSWlvHBlHyYyffnX0UoCijooOaFQ1+KxjiyvGzrmCUSRCEwNoIe oAZo2x3EgCdVNocUb0txNh6FoeZ5zRobISTvudhD7ueKfFAOHWYXcFZxBPhmK3v6prpX XUFO+MdgNvqtBdBn5MXLoEZ+CZM1gBuHzQaUPHsBZbY1eRxMtwFuU679TJtY0zZ6KK9y jtdd8l3OLKnOO7/LFtK1ofeqHEci5BZ1IlCrMYzDJ//zpcd/mckxdxOfl7eFo68MXP9G annE5NXGDM7iLyeQvqQ0+axEOy5BK319NotLHy6CGBP8QvkZlUu3ioJDHgEoZg0WWU5G jtlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=A0v3uaNT; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179423-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 d9443c01a7336-1ef0c26f5e5si125209515ad.596.2024.05.14.22.26.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 22:26:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179423-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=A0v3uaNT; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179423-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 1422A284D45 for ; Wed, 15 May 2024 04:56:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 093105FDD2; Wed, 15 May 2024 04:52:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="A0v3uaNT" Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 055D757CBC for ; Wed, 15 May 2024 04:52:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748770; cv=none; b=bOhpRDJlE+7ldz9Oh8klE5NhhDT8HDHkN6ZJ6Vzw9S33kJMX/aTqTwC+UF25hUtuH3CceuIMCYVKZvqhZJAAzoti1f/XjgQ44gLXpFDrYr1cAexfkZyl8T0UNnIVutFnRrrlcJHz4LZEduzPjIxemRT5z42yfsTUPMmOJngklCo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748770; c=relaxed/simple; bh=j8FIoUecn1AFzIJ3lRcqU8BJfgd9wlre/NP/eWzugKk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=l6BaAIDj6YBVcmmPtcSSu1j+lpdfN+Ny+A3Tj4w5RNGFTYgZbt/yjU7HbosGXaxNePdo5rAw1oyLjJdHQCtRIL2SKymaufdCjpCXvpv4Kl/lmNNfeIwY0Nv7h77HAdW/zVuHlN2YsEqbZo4fYJ28cHooOORpZO2UFkoMaSpr6N0= 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=A0v3uaNT; arc=none smtp.client-ip=209.85.210.181 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-pf1-f181.google.com with SMTP id d2e1a72fcca58-6f44390e328so5870714b3a.2 for ; Tue, 14 May 2024 21:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1715748767; x=1716353567; 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=zj4L/CHdV/htnUT6J3pcKdpL1c2PJObvzofLSI2WZDA=; b=A0v3uaNTPh1X3btf/3UUK5SDQ5XYxqfe8EVMuBmobdXt6OAUSHa73dfWRJ9TNZ0Hj9 3wNXZoC68yaohcqcuyR3o9iI5UEkNjEBHpB3f6V6/+CVkzcm9IPQmUEcG+vxXPs908FZ 9JXNExyDCHEY4YMWGm9Gx9bGu4tt1JN+Vft+kVy3EEq0G9ueX3pAf8hL2SX803q7EGwD Iy5zecAsJO7Q6xoPxgiCAJ2Knr0/eaeZU6vRGwoZuLSDqQid0uSy1vzd0n3mTpQJwoOy NpepTS0ydsnFuWpDBt0jalgsNscaZF2qxHBemPEP+gPDHBsz7KwkkPKU5BibgOP1beXJ XRFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715748767; x=1716353567; 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=zj4L/CHdV/htnUT6J3pcKdpL1c2PJObvzofLSI2WZDA=; b=Pj+VmrUVD1H6jSfnVt1TzOhbmV+GzNWFJ5/yz7aobDS70wM9jVlhgfE/WKpah+arhP HU/KkGFldSu4REHmI0GEpk7ajx+vkm1cQxwd2OWNHhMdJatLBZiw/p9g/JMmmJwKOmvY 7D4njb8scJvcJED+M4mrhhUFF1chFBfsdrtDkdb6qfpa8amGQhRNaVEr14FY/9+3bJT2 Xl6RFiIKR+Q3GhrT6991tDpFc6j+lLKv9a3pgLpW3A1Hbj5i8Kr0Hpnn0JgEaUrQncE6 maScaLYmpc5GjeYtX7bQuUpcUdaYF2p0k8aZ9B+BUtz7HEit/dKHRpr3Pt+E+cKJyW2S wQkg== X-Forwarded-Encrypted: i=1; AJvYcCUHW4qhYHNeUcn8X34Pg3kySF0VCzzzrn01G4TUPN+w9yZQ9OIXYhdFk0bzaLAvV6ATQ/5SbETJs6qxCHnZYAeSZTuDjhagvHhTMnhk X-Gm-Message-State: AOJu0Yx6jBG06y9h2zBwKs0B5KXgpBeTrkmS0NU2pZGOx9OYA/ez6QGq Tau0uHCBHG3jF3m9VvXLV+i2PN6kw2y1jl/7H4qjiaD7n0Vy+XQpopo0XI5s8TM= X-Received: by 2002:a05:6a00:1250:b0:6ea:b69a:7c78 with SMTP id d2e1a72fcca58-6f4e02b0b73mr21621527b3a.14.1715748767229; Tue, 14 May 2024 21:52:47 -0700 (PDT) Received: from lunchbox.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d2a827fdsm10135035b3a.60.2024.05.14.21.52.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 21:52:46 -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 18/31] Staging: rtl8192e: Rename variable LLCOffset Date: Tue, 14 May 2024 21:52:15 -0700 Message-Id: <20240515045228.35928-19-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240515045228.35928-1-tdavies@darkphysics.net> References: <20240515045228.35928-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 LLCOffset to llc_offset to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib_rx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 0db75fa7da1e..3223619f8cd9 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -728,7 +728,7 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb, struct ieee80211_hdr_3addr *hdr = (struct ieee80211_hdr_3addr *)skb->data; u16 fc = le16_to_cpu(hdr->frame_control); - u16 LLCOffset = sizeof(struct ieee80211_hdr_3addr); + u16 llc_offset = sizeof(struct ieee80211_hdr_3addr); u16 ChkLength; bool is_aggregate_frame = false; u16 nSubframe_Length; @@ -742,16 +742,16 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb, is_aggregate_frame = true; if (RTLLIB_QOS_HAS_SEQ(fc)) - LLCOffset += 2; + llc_offset += 2; if (rx_stats->contain_htc) - LLCOffset += sHTCLng; + llc_offset += sHTCLng; - ChkLength = LLCOffset; + ChkLength = llc_offset; if (skb->len <= ChkLength) return 0; - skb_pull(skb, LLCOffset); + skb_pull(skb, llc_offset); ieee->is_aggregate_frame = is_aggregate_frame; if (!is_aggregate_frame) { rxb->nr_subframes = 1; -- 2.30.2