Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3004465lqp; Mon, 25 Mar 2024 16:32:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXjlWt5RfewVjx1hZMEkfkXc2B3ytP6fK4Gk/CL/Gek0pQk7ARdKmRWwi0HEB9UI2hLaXsPlEGMv9RYBeQvJ8ocVV5taJ1edR+qip1SNA== X-Google-Smtp-Source: AGHT+IG285tbDS0apOg6gXFXh0zchW2BurWWfA3bwAu6ouRlauzGj0RhDX0BotpV35CRPFiHfdOa X-Received: by 2002:a17:902:dac3:b0:1e0:bd8e:5a66 with SMTP id q3-20020a170902dac300b001e0bd8e5a66mr5814631plx.8.1711409556281; Mon, 25 Mar 2024 16:32:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711409556; cv=pass; d=google.com; s=arc-20160816; b=LFBEtWiN5KyzjUjynpF0JXiRk/MTVpRywiD7BW9LbeLx0imPlqPyxHJMeH8kfEmzM9 mB7RItWRg4UYYq0Lk7Xedm5XI0/V4izNae94QN6f0ejtdsjG/JSuJv8ktJja0zw1z1MD xt8pxhuTYMGje6aonJk8rax4+4JaX5y4JB5drdbxVNfJCiZBqrgzwrXuHI1KNSo0tEj5 LvElObu2oVqf8eyf/I7FrgsVzmM12VrHCz8A09VixK3xuE3kk3YSApy3zjEkZZB7NgB5 G2fWMKlhU13qJc164ZPsfLK0XFFQ+jmdGKSGeKtNco2papU9TZnlJJz5t5GhM2mtFcSP UwyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zxB1ME9DNA2QAznLegn7G7zlIdrVB+x8IZEYE8rx6AU=; fh=ei2YcclJIJ9q5mPrlSGzvpWIjSKmQO6f1EyFW7/ZbHg=; b=Xc0LZ/9RCozjzxOmNiaYay5waO+rkvS6N3GOsFURJ/YgtF+Jq3x7HcnuM9z20oied1 n9cP7mwsCMMaOAusCNqG/0XmHZzZrJJB6BE0bTx361o1fBd7HzyhI18Vi8tTIz3tobdV gf4v+fnJkgPTyl+zczUznFljjPLxS5gegWlLizSNWJeXTHXwMVctJEld70eKUH5SLrZ8 MGJYhOXA97I3acHY/z8TQji7MC2V8kYO9cTQxJ+ci97EXjHJBe3H0CzH6yVEA0jECrSQ 6ayXctcXZLhDVgZ8LIPzTo233qsn+K7kzgSdaS31bDz/mufSwlFm62UhBlihKEsUd0eu C1gQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=X5FqLVav; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-117639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117639-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z24-20020a1709028f9800b001dddcb9aaacsi5605048plo.622.2024.03.25.16.32.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 16:32:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=X5FqLVav; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-117639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117639-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 9D93BB47571 for ; Mon, 25 Mar 2024 18:19:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22BDB4F1F5; Mon, 25 Mar 2024 17:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X5FqLVav" Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.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 CD0B918E20 for ; Mon, 25 Mar 2024 17:50:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711389030; cv=none; b=buMqvq/BK9OIgCAqV3K9dhzTUBlAps4i2yLk3WVYS+/J4TLBG5MEXVMQNZnAncqEq/sf8+eqfJavljv8aaZVNgMvDWl22o0jU51HVuI+fk08grAFp69/7v2ei12+mF5aakTctZgYeXbOwfFqscoVanz+KtdN5IzuJfnzCpDtt2w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711389030; c=relaxed/simple; bh=mLOchj0+iWZlApmwpPHKFKADSoGovJwves4ASWPI97E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BTiWx9YToweVOJ5Q2Sz/u/N6ebhDNikCkiD8IL0ZJk9K57IITkgjcxfCIN3cLJhm9+k1SPC05HH3s8xGNxBYRDwg5FnyVMnBh8nLkyMenXEbh/NW4fLp4+zjaw2QRyW30OP8e5ciJK6V4xMF+nUaBaWbrRa/LEWP5z7u0CIjWe8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=X5FqLVav; arc=none smtp.client-ip=209.85.215.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-5d4d15ec7c5so3195156a12.1 for ; Mon, 25 Mar 2024 10:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711389028; x=1711993828; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zxB1ME9DNA2QAznLegn7G7zlIdrVB+x8IZEYE8rx6AU=; b=X5FqLVavn+mCIcJ25ksFqXzLywUT/C7q/JM0ZjTjEcGl7Rc25W4AQqqJMBsjUsbf4K bs527PfXPzVqoXDPTQ/rO/2HA6LawBSkToKXxrg9iAZ/z4c7pTcFeNECfFtsCBHEalGv kJG0bii5eIk8MGGo5XChMWIXpOg62RsLlA29VhWpoV8CL4BfGKCmQEBUzoQFU0zxowxy FGH7TQBrzdslWRAjKAz7PdAm2T/VpiBfKXscaoYSwnUNtJutaorREJwikyXZUJF25ly8 F974t5TdiYX5qffSzGLgbgqbtqLUeNPKnVEvY4VN3xZpXQq61hjDZWsLtg3Jon0nxBGF 2Y3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711389028; x=1711993828; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zxB1ME9DNA2QAznLegn7G7zlIdrVB+x8IZEYE8rx6AU=; b=vL6Nyjg4kWBdFIY0NRazfmxcFZA1vq85yzMyGxcOb9XWwz+QveFm4mPDZRIu3Nm7uw e6LX115WqCBRCcviBJAaQyJWek2CBPz7KZ9tn6qGG4tdx8LEQ7DYWQaoyF0Nr9O1dYS8 jlKIQyMKOCiY4Evfqs5ba+qAwEPsmOhpsHAYPpVRrQbHt4Cw31AQpNlpibqqaebmozlb o45/LIel2y9nkO6g2hEyym0S2mD7QX1gLt4ufYuMO6da5LIv67RQSj+O/gkZUUqrf2ww tWG2ow9RmZwSxi4p2c/H5tO0Gx22E+T3wN+Yuw3on15AHWFrj1GnoR6QFPJioaATwG8O 4oPQ== X-Forwarded-Encrypted: i=1; AJvYcCXzgQuXrwo1yyK3jNqa0yi6cmYX2bl5929EX1Iafrb8ZohF040yhi7tNmQ8YUocZTP/3ksm95aR2Jd1a6lwNJ7f8lItD+kGoQ1Jgn1Y X-Gm-Message-State: AOJu0YxIeuHQ6fFSc1zWp5hpvGMW0EtoR55S8OQKO9qVL5Li6b6XLOJq 7NOXc173DE3cZr8A3GbE32fmE0d6jLE85MrEPexhjl8grGqk23TH X-Received: by 2002:a17:90b:3110:b0:2a0:5880:bf01 with SMTP id gc16-20020a17090b311000b002a05880bf01mr4871890pjb.28.1711389028062; Mon, 25 Mar 2024 10:50:28 -0700 (PDT) Received: from ayush-HP-Pavilion-Gaming-Laptop-15-ec0xxx ([103.6.158.65]) by smtp.gmail.com with ESMTPSA id f3-20020a17090a8e8300b0029baf768de6sm5915126pjo.1.2024.03.25.10.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:50:27 -0700 (PDT) Date: Mon, 25 Mar 2024 23:20:22 +0530 From: Ayush Tiwari To: Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Cc: outreachy@lists.linux.dev Subject: [PATCH v4 2/3] staging: rtl8712: rename backupPMKIDIndex to backup_PMKID_index Message-ID: <2902ed6252d6773fecd32254383eefe8b0c465aa.1711388443.git.ayushtiw0110@gmail.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Rename variable backupPMKIDIndex to backup_PMKID_index to address checkpatch warning 'Avoid Camelcase' and to ensure adherence to coding style guidelines. Signed-off-by: Ayush Tiwari --- Changes in v4: No change Changes in v3: No change Changes in v2: No change drivers/staging/rtl8712/mlme_linux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8712/mlme_linux.c b/drivers/staging/rtl8712/mlme_linux.c index a009ec1a5c11..ac8196d24ce0 100644 --- a/drivers/staging/rtl8712/mlme_linux.c +++ b/drivers/staging/rtl8712/mlme_linux.c @@ -87,7 +87,7 @@ void r8712_os_indicate_connect(struct _adapter *adapter) static struct RT_PMKID_LIST backup_PMKID_list[NUM_PMKID_CACHE]; void r8712_os_indicate_disconnect(struct _adapter *adapter) { - u8 backupPMKIDIndex = 0; + u8 backup_PMKID_index = 0; u8 backupTKIPCountermeasure = 0x00; r8712_indicate_wx_disassoc_event(adapter); @@ -102,7 +102,7 @@ void r8712_os_indicate_disconnect(struct _adapter *adapter) memcpy(&backup_PMKID_list[0], &adapter->securitypriv.PMKIDList[0], sizeof(struct RT_PMKID_LIST) * NUM_PMKID_CACHE); - backupPMKIDIndex = adapter->securitypriv.PMKIDIndex; + backup_PMKID_index = adapter->securitypriv.PMKIDIndex; backupTKIPCountermeasure = adapter->securitypriv.btkip_countermeasure; memset((unsigned char *)&adapter->securitypriv, 0, @@ -115,7 +115,7 @@ void r8712_os_indicate_disconnect(struct _adapter *adapter) memcpy(&adapter->securitypriv.PMKIDList[0], &backup_PMKID_list[0], sizeof(struct RT_PMKID_LIST) * NUM_PMKID_CACHE); - adapter->securitypriv.PMKIDIndex = backupPMKIDIndex; + adapter->securitypriv.PMKIDIndex = backup_PMKID_index; adapter->securitypriv.btkip_countermeasure = backupTKIPCountermeasure; } else { /*reset values in securitypriv*/ -- 2.40.1