Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3090150lqo; Tue, 14 May 2024 21:54:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVys0OOCXrZ+IjiIyVwCSFzwqP3uhpqSmKMnGsC2DSRExZ1lyHDHHZ7JcQLNvZYszmGS/agiTx1N7uhDZEwVytWD8PnmKHrJPt26Brv8g== X-Google-Smtp-Source: AGHT+IF/RUoKIPAKonFCb1CzOAlqSdOAmQ9FF5wbFmLBzynf1JBRYEFGHA7sIF5zLXCQOidtaAxI X-Received: by 2002:a17:907:6d12:b0:a59:6fab:afee with SMTP id a640c23a62f3a-a5a2d65f2aamr1213004966b.62.1715748848260; Tue, 14 May 2024 21:54:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715748848; cv=pass; d=google.com; s=arc-20160816; b=X74w2NLU3CUm/lMHPUeaYSVTIWzvyl67cjNyPNSKq0h6kk/qaBigC6fJJnJcI8ZL3u OgYxiRIOw0WTk5j4ffD6+tbAz/93GsK0HkIWQW2dN4yFmIKhgule308sELC7gXvXaGCF mCi60zScP02iNLj7NSfml9w3N5y18Ar2bNsjKFc+5mNySQQwe5/lHFmXAD3iM7nzAr12 DyI4j0WO2SUB/L65AK4AzcDFpzpaFa4PCSkqmbqytEJZHHXgr9pVkfFd3PyfuImrJqQI wK0ruSrvZ2zbOKNbBcLmyJyyKc9sSd7sR4+I40WbFdeiiH8PjdzhnY28sMnV0f7VZou3 7vaA== 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=X3J9d19BBdCUNbsHdCNFFy7/2dgsskyle09cVkBE7Rg=; fh=qjaf9gKCtljqD+B2TJYUZTDZTgu/agE7RtMFunJ2TXg=; b=LBLm5FDc8lJh/KTOsI/uNmU/FCj7qgX3Gl21A39D3RscGnnfCq5lteFB7qT+1pPHKx ReYmU8n78mw0dszBb7x8z9mxxAUa0TanS/C2xTVk55qlwJ0SGOE/PCXRSBRe5zwj+/HN Fx0iiRZwvLfGTZFApeqAYfH0pPbYFf7AwM8zcNeCcBnOLkFjvdR8allalQDU48ZFh+9w ch5MFtC7bnO56EApZa5YSTDpsspot9k5N0CpiVMwuZItuQdh7R2hJlnl5q3AT+z39LBE v5Z8ja5WK8VL7zBa7LPKkbVOYN5GXoF7BjZzwpLcw/nwFDyrLtWQKL5Hd5RGBJ93U9Fd QbTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=DfF5Z0Wb; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179413-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-a5a17c2c2a7si752464166b.960.2024.05.14.21.54.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 21:54:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179413-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=DfF5Z0Wb; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179413-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 979FE1F23346 for ; Wed, 15 May 2024 04:54:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0D8A45943; Wed, 15 May 2024 04:52:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="DfF5Z0Wb" Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.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 4EB283D3BF for ; Wed, 15 May 2024 04:52:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748762; cv=none; b=FtXsbAvCFllV73Cb3wK1OUZjT/eZ3Tb4uc+/dLDBB4V+8p+hV7+a/xu5V8LmDVYrm/UhPJF8zbSm8jCsogiuMiJa40iauaWZlpYY0Enr3B3EzWhEuiq3Xar029a5iO+kgtn/Nah0uV6dkmNjEkanB1ouKmKPpkZuSO1ttcsGBqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748762; c=relaxed/simple; bh=IiCfIcPfdct1tRc1QEwBDItQrFk8/iTPGsEHpxX+aug=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=J+OvMsyawPzg7z/MAuY90dXjdcs78RxvKDM1YFCRCoQF5GviwZtb/jhg1NTI7603LA9Q92Akjtmas6NA6pk8CGaa6bpJ4xzDDWoJudiEeGAz1kdfAHrnSdZGtojkeF178STuzIDmDaLqsG5QmK/UaK8dAmwOr/wr2l+D4gbJ9fA= 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=DfF5Z0Wb; arc=none smtp.client-ip=209.85.167.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-oi1-f173.google.com with SMTP id 5614622812f47-3c9b94951d5so589738b6e.3 for ; Tue, 14 May 2024 21:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1715748760; x=1716353560; 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=X3J9d19BBdCUNbsHdCNFFy7/2dgsskyle09cVkBE7Rg=; b=DfF5Z0Wb1tliOM2kbzfIXu2IRElYhv/eiK11csoSTmCp07oNd6BUSA5et8sdyu6hp/ 03mgLSA9YsigpRG1Xr33+8owUFHZsGzPeV5a6vo0LBDOa8QAkIt1ABMHPtam/bKSLTJa FoEkRpDueKbfiXUVP9wJwDfn/NF+/JZ/JlpXUmCBL/9Ln0eEpvzWiHmFvJw0QryQ4l4a edxWmbUmX/8adixplFPxpLrw/u3SljDYi6dTfROK0ZlOSQDed3AMEw/HFmhGHt8BXzLr jN2QuHGifJpgal17mRwAbRvY9/DKxrpVM7hUb1XkYcjIBkd5nYTEdsIq68d5qbWKpBKE XAfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715748760; x=1716353560; 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=X3J9d19BBdCUNbsHdCNFFy7/2dgsskyle09cVkBE7Rg=; b=DzbzzGvw3tL10bDRDmaBJX9yF6n3hE7de7x90aJ65TDfWuPD+II3f5KqTXLPyL8sbF mL0DNpvekVUCm6oARi6wsVpHGxoMDWvVWsVdpnjPkiT64q0psjxeendO7p4tYVhZoLIL DTNpBZ6N9ZAIOo5ruJIoyJURM9h125lTTfiPYzYismqW2fWBu4oAPqNybvCIovU9J03j ztbe1P7DkUWK8GoiqduEjhnRnS5qih6J7259TV0ojhZJ7iO+Q4U9OVRQTySfEP5iAFWs +r810RDMfbL0LD485UMW/wb90kNb5va9da40lptRGImSkQrKae3OcTayZQSL7SOW3kH6 MfEg== X-Forwarded-Encrypted: i=1; AJvYcCWDxjxDidofAT+UXGEJN/0qWGJMGODjYcpmVozHaeJuVdA+8H+60f1bWlrZ/rxehg294C8D3gI0Z/b1pgVO0CtAmR9YL3IeJXwabiXj X-Gm-Message-State: AOJu0YyElC5JTGXH9y1s5EYTEh7FqlSKJiPNmYxOIC7tyo3AteORVcOx VbuUsDATihaZJQ6k4xg14xkF15YdzoCVDQRZ4cy3SXKzWQzf+hiGrQKYWCgIfne3dx1/KPjaPcX n X-Received: by 2002:a54:4484:0:b0:3c8:2c20:718c with SMTP id 5614622812f47-3c99702a852mr14038489b6e.2.1715748760241; Tue, 14 May 2024 21:52:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 21:52:39 -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 08/31] Staging: rtl8192e: Rename variable elementID Date: Tue, 14 May 2024 21:52:05 -0700 Message-Id: <20240515045228.35928-9-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 elementID to element_id to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- 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