Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp549582rdb; Fri, 5 Jan 2024 21:59:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEEPUicQ/4kL0OoL60UspH1cwq+jPIBMXwovGsz5iJ+GkpU0/6ZGrfoJEiEKEhFFo06L49g X-Received: by 2002:a05:6870:c85:b0:204:4fdd:74d4 with SMTP id mn5-20020a0568700c8500b002044fdd74d4mr629415oab.85.1704520750703; Fri, 05 Jan 2024 21:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704520750; cv=none; d=google.com; s=arc-20160816; b=IC9+TU4u23T+7FVNj0lm4pBZKbKnqwmkpYALIArTBIdcopyB1dimoMQXfp4UToNQ5P YJFXsHOHVGIZF5cIIvAi1bQ3OUDjoTQC2CT8uclZBZnPv0+lD2Mh2HJfwtN53Nlg3xxN /h6YRgYrf4cFVAfRPwH0iT3It9zFQHr9zkhzSbr6PNeu5B0MFG7TZNKYioDlGkHz1JGG BfkVnjHH8MdF26RGT4N4MwG3cLWmRdIs1KsA/NlFI2TI6fCXGLmuqkZbiLQQNoCFdMBH Q26IlrwOWrVhfCJOEsz+5LBUnbsRUm8cJhQEMJXOrY5/Kd+cj1VTisVjl4G/VCwLNHfD z0wA== ARC-Message-Signature: i=1; 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=KTFfC6a6+CdPfuYQ6OOPrqm2TNcAcxQiTaVsILJFR48=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=ofAb4MTzIyAbOaJSPDwCtKVQOM+N08Mtuhu4AWH1QfeRcvi6gcyXNIJrz214Q0yEqN ipAqghCYAqcvZXWTngo3pZdAAyxM3/bLzEttTRRGFwYcy/Z+3wP1Q23JIWDWseqkx/61 ZsBrt4L03z6hr3qAvE5WC7av0Re6opiIa0y8a1CBiCqHuBnoPvAWHVjJZMGyUET1+elg MpclvmK9G8CSpn2EZudAGBr3HtF/rkbek2Y0wYp1oTKp3SeLms5C5zpg5y2pzwELOcH9 BG85Z7daB1zbTP2yl9WR/R0CavyRImupkL1ZDTTKqwa5cLrlslOlBZ50TdNynPfDmlpG ARRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=hihQnpIz; spf=pass (google.com: domain of linux-kernel+bounces-18501-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18501-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id gk1-20020a17090b118100b0028cf7006c59si1964266pjb.103.2024.01.05.21.59.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:59:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18501-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=hihQnpIz; spf=pass (google.com: domain of linux-kernel+bounces-18501-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18501-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A1575B237EC for ; Sat, 6 Jan 2024 05:58:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0340CE541; Sat, 6 Jan 2024 05:56:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="hihQnpIz" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.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 F3DFDC15F for ; Sat, 6 Jan 2024 05:56:17 +0000 (UTC) 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-f174.google.com with SMTP id d2e1a72fcca58-6da4a923b1bso103853b3a.2 for ; Fri, 05 Jan 2024 21:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1704520577; x=1705125377; 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=KTFfC6a6+CdPfuYQ6OOPrqm2TNcAcxQiTaVsILJFR48=; b=hihQnpIz5SLb9TY1W7R/6G9Ge5PDNuCY20owvm9pJkP/rxXq8kVSP+toby4cNdJKOK w3QozRVfcuDXee7vBYD33f2L6kC/wC/01YAXXV7b3y7WImkp95rZooS2B8lLetqXb+nk gwrOrLLmPWw4tkpkOne3aImtertKAFPp2hL10/cRjDyi7pPDtQz85kb3AReA2hNzhNDD jHV5ukCFJFwHetJf9t3bnO25MWJ0mks1r11GfGbnxXKwfCcLjzKJlPwOoRAgulxbWuet S83hOCiED+e/cvU4kQKnUNgUO1wC7up5bGStPxZY2QGhdu7pOn+jGIzBRsxnqiPaLg7H bXRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704520577; x=1705125377; 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=KTFfC6a6+CdPfuYQ6OOPrqm2TNcAcxQiTaVsILJFR48=; b=cH5flhNY6pSFAtTb+xp8ZGfd9X0nL38NhKkqe4cSuGfwawWA9KgURkwqsEIv1XGHsW 4ZFDlp09q5sNHhgi8tDyvHtsPc4MOvt+RqtE5f968PiwSE44PgGOob/wRaeIPTHCVTdb ns5YMQ/YP3Ith/vWQfQwK/ita8Q1fVZvZwTR2nadlEZPmwtCifkuQxB5NkAwFSMcPYRo 2mnyj88c4fCKMbeAsYMMiRbq+xKcgGaD/qV7PxAMESUuraklvdfPOE84rAEx8ZoL40aw pkYU78x5xVpV7z/q7GIq99tI/8xhTJ7tcsfeMVF2RuP7CU/esDJSSlbKhAKnHyh07I4K HJeQ== X-Gm-Message-State: AOJu0Yxd96kq83IXV2SC9x7Cw+rluoMEaQdqXZq2DwQvLyzh1a5GurSB hcGXrY+yC2gl+KYQ0YzraCRolnBRj5x30g== X-Received: by 2002:a05:6a00:1306:b0:6d9:abde:a803 with SMTP id j6-20020a056a00130600b006d9abdea803mr161631pfu.34.1704520577416; Fri, 05 Jan 2024 21:56:17 -0800 (PST) Received: from oatmeal.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id y29-20020a056a00181d00b006d99d986624sm2280873pfa.151.2024.01.05.21.56.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:56:16 -0800 (PST) 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 11/21] Staging: rtl8192e: Rename variable array Bssid Date: Fri, 5 Jan 2024 21:55:46 -0800 Message-Id: <20240106055556.430948-12-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240106055556.430948-1-tdavies@darkphysics.net> References: <20240106055556.430948-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 array Bssid -> bssid to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 35c66ecd20e6..f379819287b4 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1161,7 +1161,7 @@ struct rate_adaptive { #define NUM_PMKID_CACHE 16 struct rt_pmkid_list { - u8 Bssid[ETH_ALEN]; + u8 bssid[ETH_ALEN]; u8 PMKID[16]; u8 SsidBuf[33]; u8 used; diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 98c1041214fb..8fb69fa09cc2 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -671,7 +671,7 @@ static inline int SecIsInPMKIDList(struct rtllib_device *ieee, u8 *bssid) do { if ((ieee->PMKIDList[i].used) && - (memcmp(ieee->PMKIDList[i].Bssid, bssid, ETH_ALEN) == 0)) + (memcmp(ieee->PMKIDList[i].bssid, bssid, ETH_ALEN) == 0)) break; i++; } while (i < NUM_PMKID_CACHE); -- 2.39.2