Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3089854lqo; Tue, 14 May 2024 21:53:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBBz3alM4eIaqpBduWlO3kN6akAsyj1unC+JeCSD7Nqa1FExfXFNH7AWcQ9lwbM5yaFMneqJCaGuBVXtvaO0mqzum2G/2BiQSUcXndlw== X-Google-Smtp-Source: AGHT+IHWq3CavXSr2uXEC4uowEvNP3Z98ENP6Gq2cNk09j8EaoZOTGDFOOCwlSc+bPNV3JONXDAu X-Received: by 2002:a17:906:6882:b0:a5a:76e2:c2a8 with SMTP id a640c23a62f3a-a5a76e2c306mr392126266b.23.1715748786053; Tue, 14 May 2024 21:53:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715748786; cv=pass; d=google.com; s=arc-20160816; b=Mlv4BrIzkr22srYWqqRPAH0iQkNnfoQuFrmL02hRB8Bk3mDCBlDOimhQ2cuxQYtxho 7Km47lJTdIU+learaZeTMymy/PU/ZouiB8t0wgDzcPQwMmn6vmL15xBy6PEmX2JoXLdy 5dkMOKGbTtynJimWQCGXd7baHu3IQsD6PIdXgetGm0ufZ7eJRbPuC4lnAIv8r+j1XugG quagTfXji21gELQTuy1JdZwzR9nbyrAAUo7KOcgOyCT4O/kHZ2xfea1pWjT1W/GOatqX rdkr0I1oHyjOxve4v5WxDOgB3kXvYok8Qx567YjHSvp9k+xRqy35i/CA2eB9wcC0OLvZ qiUQ== 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=TxfiITVjEz5smO5GO/pbEdvc3HEsMTAy+JAImqMp9NE=; fh=G2WXnhrFg9pIiaDLrA+FydremClKLGOw6vC61SFEums=; b=baEKy9KPWPr8+dzWc7JNf/PbmOsRqcIZNgO5RuCkGqlClNqHQWpsysYp5Ez1HnyE2f ar6KxAX0jDzU0Du8s4iL02Xw97aXPvi01TP5+CYeHcXXuUVn3YhlFKnFdG8CHv7/UhIK mYnfRn6qGR8WWgRtsViTIbAtcujZjp7VgDManIT2XVsqq5xnvX4xD4e85W2RJGcHnYa0 PWamOWlWdb0Y3sWkbiHMjCEWVOV8eSy1mozv5GnsgLsIqnn4xLbPnO4g+Bf8Y+kpiH1a zhs/xTupQSkGfRJ3HHsQ+GNpjuylxFHYpMjxWgm/hxjtFm1nq/dHIhaaNQ+/QcLSU0Gb lK3w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=T6yZWdnS; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179407-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 a640c23a62f3a-a5a17b21d27si665918166b.308.2024.05.14.21.53.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 21:53:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179407-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=T6yZWdnS; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179407-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179407-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 C6A311F21DDF for ; Wed, 15 May 2024 04:53:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 227983BBD6; Wed, 15 May 2024 04:52:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="T6yZWdnS" Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 7545A381D4 for ; Wed, 15 May 2024 04:52:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748759; cv=none; b=k4LZoFpk3ML3m2bqeeqremHj/RLdB38xXBsCKezcPMSQuvxfNTEfpEofgvLrL4kRmRJaSrvCik1cjmTy7VU/QzFoO1XCRIqIIdLsmAeeXJ5ouiVQeOM0kDPTedVg5S4dD5bBt0WVrvrgEKdztBEYfQyouSvQk1vH/Cd8ANcFH3A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748759; c=relaxed/simple; bh=MaYgk11V9VdrTP8z2Dr0C6mU8sKFgydduukab/SqPpQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=h5ltkhcdp4hoU6Gfisoo5wes8CzUWG3j74U5kU5bhy3+JfvUzxbimStiyFct26p6XVQGMUXbSRWUfqZ8ndsUTkUMnhLWkE3uEZ0llJ+1doJ5zQC5rMxkC3IgHw4+Fgl3ieaQfT045f5bMyfKqF8ftcSGhreMHg0kDeKRhv2HeVM= 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=T6yZWdnS; arc=none smtp.client-ip=209.85.210.173 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-f173.google.com with SMTP id d2e1a72fcca58-6f4603237e0so4475873b3a.0 for ; Tue, 14 May 2024 21:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1715748756; x=1716353556; 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=TxfiITVjEz5smO5GO/pbEdvc3HEsMTAy+JAImqMp9NE=; b=T6yZWdnSehN1aH0EARztxF1iWWfWTlL2Z279Yl7s9l9xRHihLrni3IBbsZXke8RmSz grQC5s716pQp4+KuXnsbSNq8Z+sflcPEJt6vc0bwxo2nPTKQOATHu6KBs5QYSZnBuhB8 t7TRioZEZ68qjG3fN+i7AM8ITDnZhVLNIMFwBwxoYMH3fm836xjHUI1JyE0nEC9attsg eicH1tucxOmqQSyhsr8CzkSx8zkBiTQzmHJ9k/w19/M6QX5jHhaLkjn1ZJ16rUuAnUQV hTBzTFUG9xfaH5V6G0N9+zPj9TTjd2XOuDcXT7XaYkFGRJxP9ZLmveYIpAIuZzRSt3j1 pNnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715748756; x=1716353556; 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=TxfiITVjEz5smO5GO/pbEdvc3HEsMTAy+JAImqMp9NE=; b=febFGEbeR9TX49xkB6UN1QBto9Lvb5TrjohQbQgn79lFX/e/1mI2SR8m6jowY6sD6N oSj8SnwqPxLAOFLby2GlDTHfpB/yHcWixp06pEIHjsiMKP32YK3HlOz3uQyNUQrA7czL 3kdPHzb+bsJkcRpgVfLVb77qMXh9+6IeOeh/KJKegakppOoz2xuQLRiRewiuF6A7uz28 7+TJdZFCew/V30Iv3JjuMZm+3EKTgVrLptmysTFm3wPBRPVa9INnZYXig0Nf/huC5ka2 AkosWnTnwCpDokoKgmmebHS6ooRj3NYTTkxH8u22R58hh0Vumnk8/LpObiXCu+9K8nPc OFtQ== X-Forwarded-Encrypted: i=1; AJvYcCWbaK/wWJqD9g0ysKpEh1xVV05ES+733HWsrotVnTREgRvcmdNAqNV8ZNNybOFcINjSlawJQ4ZMfwNX2QltkUEPFCYUlTbvKvM94CE5 X-Gm-Message-State: AOJu0Yz6nUT/jRSciczEzU9UfIQuB3Waf9bG3Ce7BcGkC+OThVEP9U9+ O22e0yJniZHt3khJAj8Y4PqBliyQlnIHbyzD9qFDzuK8mbw8jxmz39BTxYJKfzVgvgHzzAiVgAi 9 X-Received: by 2002:a05:6a00:3d15:b0:6f3:eb71:af90 with SMTP id d2e1a72fcca58-6f4df3ba92amr24104738b3a.4.1715748754987; Tue, 14 May 2024 21:52:34 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 21:52:34 -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/31] Staging: rtl8192e: Rename variable CountryIeBuf Date: Tue, 14 May 2024 21:51:59 -0700 Message-Id: <20240515045228.35928-3-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 CountryIeBuf to country_ie_buf to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 0809af3fd041..8a84d61e6912 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -950,7 +950,7 @@ struct rtllib_network { struct rtllib_wmm_ac_param wmm_param[4]; u8 turbo_enable; u16 CountryIeLen; - u8 CountryIeBuf[MAX_IE_LEN]; + u8 country_ie_buf[MAX_IE_LEN]; struct bss_ht bssht; bool broadcom_cap_exist; bool realtek_cap_exit; diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 4a0db2dfd5e9..dc0db6fade0f 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -2184,7 +2184,7 @@ static inline int rtllib_network_init( network->SignalStrength = stats->SignalStrength; network->RSSI = stats->SignalStrength; network->CountryIeLen = 0; - memset(network->CountryIeBuf, 0, MAX_IE_LEN); + memset(network->country_ie_buf, 0, MAX_IE_LEN); ht_initialize_bss_desc(&network->bssht); network->flags |= NETWORK_HAS_CCK; @@ -2343,7 +2343,7 @@ static inline void update_network(struct rtllib_device *ieee, dst->turbo_enable = src->turbo_enable; dst->CountryIeLen = src->CountryIeLen; - memcpy(dst->CountryIeBuf, src->CountryIeBuf, src->CountryIeLen); + memcpy(dst->country_ie_buf, src->country_ie_buf, src->CountryIeLen); dst->bWithAironetIE = src->bWithAironetIE; dst->ckip_supported = src->ckip_supported; -- 2.30.2