Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp55595lqt; Mon, 18 Mar 2024 00:39:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVj+QceAn3q+V5GNvjJ7R2P9TiocAPtFoM5RPx1bACLQs7AwQx94FGTPNLy1SqcQhIGP5rq6U+OK82PBWgR6JM6OPs5zT1CCVN9c8d3Sg== X-Google-Smtp-Source: AGHT+IHPWtt2WCmgm13gn3Q4SdvlE9OYddCxyPsuTicFGF1qMuV71ie/VatqZRvcv5vT6XMPr6PX X-Received: by 2002:a05:6870:3907:b0:21f:1547:35cc with SMTP id b7-20020a056870390700b0021f154735ccmr13329878oap.47.1710747587078; Mon, 18 Mar 2024 00:39:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710747587; cv=pass; d=google.com; s=arc-20160816; b=fdK/poqm7Tgodn0gejlNec5mLlwax5ZL6SVETpSRPwzBkLYwYgqG02JN+fmhvOnjt2 CgE1Rygb6rHzNcSksfJ9BDmLHIQcFUIuRKi7A3x/MeXwO3sfmS8VMYZVLOoWuJ/3D3CY BcfmMdCOjGn9i0pcqfMRmM5gsrdeINPpOQrNh1FBeGBHtCm6C1b3xgP96+USR1P7FOOM a4kbPj/mWmExM8OfgiO8UOWtYp9bz2pgmTVeNW8K5TGPoyLL3vyCUKo6vWSOXmCmLhKT WNX1VJpg5c6y2T94RIDE3Rcoh9ZuCX+hDOgTQMhUsTEBYAcuxUG4DSn1SIZMeOLQyLRF sTOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=MbnpG8HNWfn6gCZ9HY/lgZBQCyKazod2hyic2wq2c0E=; fh=eG/NYzXTQvX/cNRpOji26sl1QJxOr68F8M9tjeGpJ7Q=; b=KxH8bnrsi55HRNdWhWqfNdtQhHbVlTnAcgghF3oxsqGpnIVkLXeNAp6IGgc93A0+AW ncy2XHcRVgNmYBbeFNAZissHZHtXz13t9OlVL0h+aMZAfi60FTgRTwM6DaV+q9Dbdrvq oj4nMQyMksT59a6sNJB8Zs8KTzKFcrGKOncFA3hTKenbn89Z0bOrmMKSvkvnNPh5jhUf /0LZ5pd2IeZHoF1gBe1iEpdYV4DUHkzYa516uUqZgznnj2PdxxmoyW7EBTtsEaamyJYv sTEgg/ZubRF1xQ7JOK81aKyUODPVPcVrfmUZcoU5iB9fi8T1bYJcPQgneHgJg9afSK5K BQUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=fdIxhYz0; arc=pass (i=1 spf=pass spfdomain=inria.fr dkim=pass dkdomain=inria.fr dmarc=pass fromdomain=inria.fr); spf=pass (google.com: domain of linux-kernel+bounces-105775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u21-20020a632355000000b005dc080c3e7csi7477453pgm.86.2024.03.18.00.39.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 00:39:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=fdIxhYz0; arc=pass (i=1 spf=pass spfdomain=inria.fr dkim=pass dkdomain=inria.fr dmarc=pass fromdomain=inria.fr); spf=pass (google.com: domain of linux-kernel+bounces-105775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr 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 88233281590 for ; Mon, 18 Mar 2024 07:39:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 964CD249F7; Mon, 18 Mar 2024 07:39:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=inria.fr header.i=@inria.fr header.b="fdIxhYz0" Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36DBB22EF2 for ; Mon, 18 Mar 2024 07:39:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.134.164.104 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710747563; cv=none; b=GHmWf/xF6rKl55+mbRWt8kN/W+rCbO+w2zQYqaLFDSkwyCrRMPIMLBH79nHU9MkjATZ+qfT+9NcoDuJfU8Gr9sVBrybzwh8+O0jjAc6fdy58XJZnMUcE2X1T1kzAsTBANYXqMh0EsTaSpfixfrXqH8Egf/yZF4aXIDVKMIexsuc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710747563; c=relaxed/simple; bh=EPLKDH3VljXFWrIbZBKT4SRpU0X8LxisU7rbFzf2ES4=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=NtYg3Xj8S5xt2gP5OWxqidSDwP2NSY8bo4ZK1Nn0q+B3/y3K2Hyp/4Dkt5zerAhlYpKRg7tXIPYEMUE/nVf7ox2rPkmcVNIN+gvOs+bZUTXZcyqOG7ktrdGcQ4UGKF0auhKJcWbgtxHYmdbW77IT+GlddHC8quIdEjrvp09039I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=inria.fr; spf=pass smtp.mailfrom=inria.fr; dkim=pass (1024-bit key) header.d=inria.fr header.i=@inria.fr header.b=fdIxhYz0; arc=none smtp.client-ip=192.134.164.104 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=inria.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=MbnpG8HNWfn6gCZ9HY/lgZBQCyKazod2hyic2wq2c0E=; b=fdIxhYz0rTABKuRyQSTg26nnVDVMP0hgoNRMoiEOa3YOnUAa1L/9sWPl vHge/fk4WW//hyx4PJWi0jeeQQXwKUfP/6suV3FncjElHOvgQvyH90Sie HxbfgSjoTLRc/yauUrJ/pJrFZ2W1QRrLcao2V4ccDAY/fEQN6qgsphmPM g=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.07,134,1708383600"; d="scan'208";a="82398387" Received: from dt-lawall.paris.inria.fr ([128.93.67.65]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2024 08:39:11 +0100 Date: Mon, 18 Mar 2024 08:39:11 +0100 (CET) From: Julia Lawall To: Ayush Tiwari cc: Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, outreachy@lists.linux.dev Subject: Re: [PATCH 1/3] staging: rtl8712: rename backupPMKIDList to backup_PMKID_list In-Reply-To: <10336a70a7d1b87857664e9733a419791e0e2ada.1710703217.git.ayushtiw0110@gmail.com> Message-ID: References: <10336a70a7d1b87857664e9733a419791e0e2ada.1710703217.git.ayushtiw0110@gmail.com> 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 On Mon, 18 Mar 2024, Ayush Tiwari wrote: > Rename backupPMKIDList to backup_PMKID_list and remove extra spaces > between RT_PMKID_LIST and backupPMKIDList to address checkpatch > warnings and match the common kernel coding style. > > Signed-off-by: Ayush Tiwari > --- > drivers/staging/rtl8712/mlme_linux.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8712/mlme_linux.c b/drivers/staging/rtl8712/mlme_linux.c > index b9f5104f3bf7..a8cda81f4240 100644 > --- a/drivers/staging/rtl8712/mlme_linux.c > +++ b/drivers/staging/rtl8712/mlme_linux.c > @@ -84,7 +84,7 @@ void r8712_os_indicate_connect(struct _adapter *adapter) > netif_carrier_on(adapter->pnetdev); > } > > -static struct RT_PMKID_LIST backupPMKIDList[NUM_PMKID_CACHE]; > +static struct RT_PMKID_LIST backup_PMKID_list[NUM_PMKID_CACHE]; This one looks suspicious, because you have changed the definition but no uses. Is it not used? julia > void r8712_os_indicate_disconnect(struct _adapter *adapter) > { > u8 backupPMKIDIndex = 0; > -- > 2.40.1 > > >