Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp161505lqp; Sun, 9 Jun 2024 22:49:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXi1gxLfrl4oAx97p/79ZqBQagomvWaF8O+IAMvZ+h1CCpBLmc/p53x8gE2RZHtUtpYl03f6Dq0g+ySqIUBU22ZXsyujE50mGe3Swv1YA== X-Google-Smtp-Source: AGHT+IEErdHJKwKEZBVk35gn9r5BT4glLky/XCS154aOcPSX2mY8rNoj15DLAFcKFnnDDinbG53l X-Received: by 2002:a17:906:c143:b0:a6e:f687:7308 with SMTP id a640c23a62f3a-a6ef6877581mr429740166b.57.1717998552437; Sun, 09 Jun 2024 22:49:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717998552; cv=pass; d=google.com; s=arc-20160816; b=SNQY7FDIuNCbLrNpbPC0fjvy/mZP6+0FQEIZZ2u1l+GfDDmiabLYUOMGsJnaRzSnuW 2eIDeR5IWHP7AuZMotCfHT3WvYll7Ot2PsOjw3WmDwV7oeUPkfPXFpC7wu4j/l7C+hhX YokM71lpTdTCF4GACB3RMod6FV3Fu1BHSWoFgoDcn4ut/4+bbRS2F0Ab6p0wmH3fdOz4 NcJsqOQl14eGQt9qVJIWVcZcF7CLTWQm3MrrVOoKCuRs7Jx2QqReBlTO7I684/ckfVoX Di8GmNa0h9+2xa72/6S+RATXuNE2UfNkpIJRRHj5/RJ95bFnsmwagbVVALLWTWoWlADC dSWQ== 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=nBV/g926v6WU268d43iPrmXQkFNUHSMZ6p/vRmizITE=; fh=U/rAhoI0hudKgXPFKrri5+4G+i7P4XVVyC39Jp0eSK0=; b=zPfiHe1EHrPXsEQnFSD19/VDdJheuUmBUdxqHHbbquGXVJITyElzPYT4v23CebaCdQ RKUYW9vOnBPBZd3kB/cLBoWEhh8YWTaSBpk8UwiGioITn6N6Or296Z3S9Hl7FtVtqLjG /7n4JQ5vcADd9fSE+BysG3RVKMovClrqVem0qdEJOZOfx+4mk7ByuA5lIr5SwsOOGH84 VHjx/EqSPw5XuCaTTE8oUa8mttk8hizHWr2zTmYk8reRQPkeC97WkWKyTTzjJWb+12tP Hs4qZs7lyxqtaPt3d2nACkMVP0bslGc549gPPV/NXo7DbxLmGE5Rs27OhSgKqFCnVmZf +2Vw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=P67iGjie; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-207664-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207664-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6ef650c33dsi268633966b.299.2024.06.09.22.49.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 22:49:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207664-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=P67iGjie; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-207664-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207664-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 054301F21485 for ; Mon, 10 Jun 2024 05:49:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F31A01755C; Mon, 10 Jun 2024 05:49:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="P67iGjie" Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 B1DCEF9E8 for ; Mon, 10 Jun 2024 05:48:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717998541; cv=none; b=j1yqYMFweNrNlXR7EM0ZOWPjQQ2ufuKOlWRXx7s/CDXwziYUkglh4AQxTQxrlFezUA1hO6d3h782xg+B4qAmInd9UE3Cp6Us7/S60ZM9B2/1FKP6NKpQO0LakWgVryTe3J/gESceAKMRGS9+ofgW1eDQ2ASl381GpF+iJm/Iwyg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717998541; c=relaxed/simple; bh=t8bUqFZN1owoEoHVvTQ4d2z8i0LYblqwDfyn4BS8DSU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bMVB644twZfGB4330bGbeBlxuMvKu0oDsjddYfZCFyL9iu4tLdyqJZVIsyZzI8v4Zoloh5aLEpxfnEvSbUmdogQkyMIJugQJpiDa1vfw9MxYpQSwmbENzPyes0vWaBrS2Yg6aM4FTjzDizc7iEis7OvJc3zfdsSjkMiMMQZsBAo= 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=P67iGjie; arc=none smtp.client-ip=209.85.214.174 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-f174.google.com with SMTP id d9443c01a7336-1f68834bfdfso29701435ad.3 for ; Sun, 09 Jun 2024 22:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1717998539; x=1718603339; 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=nBV/g926v6WU268d43iPrmXQkFNUHSMZ6p/vRmizITE=; b=P67iGjiebkPtfuipzOs1u9vpxdbdpZv4WCN3uoZon7nuSX1kBGu1YW72D1kyGigndE zl1cFxE26RlctYfmiAlHNXQrqZar9QWRW9ZxnGr77Qa2+g0nAtRo1oWAwYmPuVphoO5E Nzaw1W7nkanM8j7k3wqn6QsJNnk4eDTqakt/uhY6jgVtdqNvEMDRyeO/mrPvfHTZbxr4 ofWRoHzmsvsXggcgS9FMAW4WlzelU9Rdg5ljw9Y64iX9DKqKtEPRSafATpDBoxsFLEM6 Q5KYFzOfvu0oeKLd2pIFTqyXG24r5rSjyPz7rRN5AjnHEMxtsToZoxjHXzzre/KY9tIx opNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717998539; x=1718603339; 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=nBV/g926v6WU268d43iPrmXQkFNUHSMZ6p/vRmizITE=; b=lQ0P74vQBWoIKUpzZkIJeNwRVXKu+7Zq6rFReCFyQZcSXj/OZ1s+sFdDvXofLh4eAA IGCA42MbJ36Y7Y6BwQh8hYCnVGKY91XSjHodeGeGojzqVnd7AL5jVI9yKf70knU8c9b9 1BVh4AEODgh1mj+Zd151Hsfxynd2+HnHsYuSaDUtlWyxIMa51P/knHP1EzemGjgUVePg ceXGmJJFrZDpbP4spoG5XQVjeD9/qUEhHWx5bCoLJMDBUg9pRMVHfh4Ap3uC9RkMkW89 FpXAFEIQDoc60ut20N0NZ7w9wQQJT4YsVe5l7x9TTG3MQctZVoKEwFVUxBKH25Nptan5 VIdQ== X-Forwarded-Encrypted: i=1; AJvYcCUerVLEww2l+Z/F46JJA3+TpdTrbB9JabggrUVJvbYUnCc3FcpDTfKeq+eAwnx9rQMq1nGWWsKJJNBaJFIRNLT+l+c/6KeRDuJfeDpp X-Gm-Message-State: AOJu0Yzbsujgp68Dcl6sJt5LTKQORykdYlpVgjkVY3q5+69DdDY6Q3s1 KCNBaUMqZl7LOmq3Zae8T7hYK5Qri4OR+9CoFBnFmo0uZMfAcBhVvj3mhePKyz0= X-Received: by 2002:a17:903:2347:b0:1f7:187f:cb5b with SMTP id d9443c01a7336-1f7187fcd7bmr11855255ad.64.1717998539001; Sun, 09 Jun 2024 22:48:59 -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 d9443c01a7336-1f6f1aced64sm35653725ad.9.2024.06.09.22.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 22:48:58 -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 02/24] Staging: rtl8192e: Rename variable bIsMulticast Date: Sun, 9 Jun 2024 22:44:27 -0700 Message-Id: <20240610054449.71316-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240610054449.71316-1-tdavies@darkphysics.net> References: <20240610054449.71316-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 bIsMulticast to is_multicast to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib_tx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index 87d1ff943617..8856191a1228 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -538,7 +538,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) u8 src[ETH_ALEN]; struct lib80211_crypt_data *crypt = NULL; struct cb_desc *tcb_desc; - u8 bIsMulticast = false; + u8 is_multicast = false; u8 IsAmsdu = false; bool bdhcp = false; @@ -655,14 +655,14 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) ether_addr_copy(header.addr3, dest); } - bIsMulticast = is_multicast_ether_addr(header.addr1); + is_multicast = is_multicast_ether_addr(header.addr1); header.frame_control = cpu_to_le16(fc); /* Determine fragmentation size based on destination (multicast * and broadcast are not fragmented) */ - if (bIsMulticast) { + if (is_multicast) { frag_size = MAX_FRAG_THRESHOLD; qos_ctl |= QOS_CTL_NOTCONTAIN_ACK; } else { @@ -774,7 +774,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) /* The last fragment has the remaining length */ bytes = bytes_last_frag; } - if ((qos_activated) && (!bIsMulticast)) { + if ((qos_activated) && (!is_multicast)) { frag_hdr->seq_ctrl = cpu_to_le16(rtllib_query_seqnum(ieee, skb_frag, header.addr1)); @@ -809,7 +809,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) skb_put(skb_frag, 4); } - if ((qos_activated) && (!bIsMulticast)) { + if ((qos_activated) && (!is_multicast)) { if (ieee->seq_ctrl[UP2AC(skb->priority) + 1] == 0xFFF) ieee->seq_ctrl[UP2AC(skb->priority) + 1] = 0; else -- 2.30.2