Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2834534lqo; Mon, 20 May 2024 20:20:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUVJ5B3TggUqexRHYtYGr9Z7lRVbijPMZRYkKWKULTEH73jcqZFrppsxi2xiwB6RJ3sI7wn5kclGM9ms7uixZWpjPDjfqdxNmtgNBo8jg== X-Google-Smtp-Source: AGHT+IH9IWX0iWJ8EVIAYDLTU6Uhzr9xwT4fUgksRz+UipF4bF3EcpOsAANx1lr7IZm7C+JjXj/N X-Received: by 2002:a05:6a20:9693:b0:1af:fff9:1c5e with SMTP id adf61e73a8af0-1affff91e75mr19079606637.43.1716261609849; Mon, 20 May 2024 20:20:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716261609; cv=pass; d=google.com; s=arc-20160816; b=wo7ji7T4mWsQJ9FNZHI8dyWvw0aPQZgn+9UnZWSGFSxOWPaIwdDfgEAfdzNzgmve1/ +wH4VExs5NDg2ec3og6RSCD6J7/t8FYw++y007f+wY2GbAHl7A+MvMCq2jEiCQ604Wbx Xnyf/UDU4t00rx4qATJ9UG/WbF2mY161MRORGNHV3gcdaGBocl0qjXmROyUIEIk3WU+J BsCr2ue5r877gHNEiXale6nyH8I6GOmAtDckmx9wRqQh3z9F8r0g1gXkeCjH9OA84QDx 2ldl1f83a2T98kyfGFCAJ9EJezsnjT8N4bYW+4vdfDOl9NS0s/VEp1+wtUmXSXPVhp2b 3Lgg== 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=MEthYODi4I2R9YSYx+IY/meHc3WazGs4QoUP4G2Bq/A=; fh=bchcUmj7h+IGzbg7OCXf26IAjDEa6xg8HsSghpk8bxU=; b=bhJi7EJLZQvihiGYpW+cH2zSad4TKVZ9uOtAemGkqTpg++up7Fnb31Rf5Q1uRvAxT5 cQ6vBnkEpTj8OJglYhAoJTpYn6COfycPZtZw1ouNnCIL3FhvMcx9w78NYUXnSHd70hcU apxJnlVEuXlYgeZXdCjT0II1Iim4CY6u8+kHstGG8QcISzMSb+KdcK7PT0Luu8lTB8VG x/OC+oBl+3mfDRVBD3WRabtZxCTOu3H+VuwlrZK8RFcU9BfCdQMnMHxE3jcxZ/h+k0eF zXxti1ZWIDS7LevS45naTXbuUH3SmWSJWYP5+t3iBRvryI9bPAp6mPZGuhZSzbjZ2eLF qnsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b="R6Hb/Fx/"; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-184432-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184432-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bd70be8282si532325a91.33.2024.05.20.20.20.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 20:20:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184432-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b="R6Hb/Fx/"; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-184432-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184432-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 788AC282227 for ; Tue, 21 May 2024 03:20:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E0C553E3B; Tue, 21 May 2024 03:17:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="R6Hb/Fx/" Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 7DEC64C3C3 for ; Tue, 21 May 2024 03:17:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716261450; cv=none; b=HmJHXQlS16uDA2/sbHe63wXAUY0ojTqfgmV8RfZLdytw8JM/DAvXaY6+1JU2yLwRrF64ofIerKntbvPq0Qwm2nUS3Ll2UdZc45XuHCu2wEYnbh1kMckZr/ohvBx9V/DQzTa48gSEM9skSQWk1tF68X+x64P4ZEAkXnDN2jrHK7I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716261450; c=relaxed/simple; bh=y4YjY+AojbIRMjK164jPJmgD6gUrucFooh+ClOh/re4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=howXy4l/v5GpvaT4d6H5+K/z1FO17irdKdia4asGi9ktw8cQYgs5Tor8FTjjApSDgefNa4q95IK6lWpJlAQeQXytEhpkJKP1R7gWpSkV2uOI/my/Cjy4gj5EOjq/eaH8033eNYthzmM4sgmA8tvsgdajX50GjzxpLz4Z3di4JFw= 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=R6Hb/Fx/; arc=none smtp.client-ip=209.85.214.180 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-f180.google.com with SMTP id d9443c01a7336-1f05b669b6cso92908065ad.3 for ; Mon, 20 May 2024 20:17:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1716261448; x=1716866248; 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=MEthYODi4I2R9YSYx+IY/meHc3WazGs4QoUP4G2Bq/A=; b=R6Hb/Fx/e9uQgbbdCv9chBTeexgajxFA12hk8ewRjtkIois65R8Rm5Uo0wPI6ORGQE aSpoHdZOv8bFG5pNe+08GMC5gnf2AF6vBRvwophP3UNbQdHqps3mUSId21LZWzgeaKml IruaKWMoHfPJOZJy7YnsBPhXFs3LQu83tPI/2CN9I01BFtKLyOYboOhgaIQYdYSnaQJd MD8xq2uWiCwrD7ynTwBrNEPoMR6gsflfjpDAxnM1LSQPcEIskodNmRMRHupF1d3yeWOm SepAHKJEn/827tvgugfObLwBwrNAm9dV6UBzJro10XcWTR4A5z9PnHgwdm/T4uDaS/eC LrAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716261448; x=1716866248; 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=MEthYODi4I2R9YSYx+IY/meHc3WazGs4QoUP4G2Bq/A=; b=b/mpTB8lqdyQ0t2ZcPNPKBv3UWnnpg4rCxTAMhycVtLedxEVEwWeY8IMWj0+WHnxwU Gc5RDQRjSmKj92pG2ayAqjb8jgYuObPE4rPduHqJH3ZfWS4mqf5XFdnwtn12UhU5pKhU h9++QqWP9Vv7zfpPxyUzvmzjjU5sxuDuHedXYJxCuzxmPzyMz6gKSZx3peaOOCMTwhba 8wCETftgpxvcB4COi15UCA9MIyc0Nl1vlZ42M4XZoooA2i+ziUZAVWV6Wkr8sqZfRqLs 6Nv9AP0PKyyP8IrXeus2uEZ+3mS3H+M3fkOI0APAIv1KPVUO8N1EhKj7Lb3xF66h+6ve odBA== X-Forwarded-Encrypted: i=1; AJvYcCXJE8vHnD8bFjRi5Mo3cebDIJPAdG18fu+aJayQGDJY9c5GRKbx7w+E40vszExUVnRfvtxjXgyNJ7RXG89UpFks75zZbhjbZP+iBM2l X-Gm-Message-State: AOJu0YxXstn1KD0Vk9K1yafXDX+C3TQtYh4aGQd6xp3oevYczC6oSiyf FjsHXAovNQu0ua/JJDYPHVS4GBgkTiRmOl5Mk/ilVLXRkhP+o5qr3bN0v+2QFc4= X-Received: by 2002:a17:902:d488:b0:1f2:f566:8908 with SMTP id d9443c01a7336-1f2f566a562mr77412435ad.52.1716261447741; Mon, 20 May 2024 20:17:27 -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-1ef0bf31a93sm214885415ad.134.2024.05.20.20.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 20:17:27 -0700 (PDT) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: dan.carpenter@linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v2 08/31] Staging: rtl8192e: Rename variable elementID Date: Mon, 20 May 2024 20:16:55 -0700 Message-Id: <20240521031718.17852-9-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240521031718.17852-1-tdavies@darkphysics.net> References: <20240521031718.17852-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 elementID to element_id to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2: No change. drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 3722fc0cae1d..4645fe803a15 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -728,7 +728,7 @@ union frameqos { #define QOS_VERSION_1 1 struct rtllib_qos_information_element { - u8 elementID; + u8 element_id; u8 length; u8 qui[QOS_OUI_LEN]; u8 qui_type; diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 19cb717df3bb..76389aef53ee 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -1456,7 +1456,7 @@ static u8 qos_oui[QOS_OUI_LEN] = { 0x00, 0x50, 0xF2 }; static int rtllib_verify_qos_info(struct rtllib_qos_information_element *info_element, int sub_type) { - if (info_element->elementID != QOS_ELEMENT_ID) + if (info_element->element_id != QOS_ELEMENT_ID) return -1; if (info_element->qui_subtype != sub_type) return -1; -- 2.30.2