Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3437498rwl; Sun, 2 Apr 2023 07:33:44 -0700 (PDT) X-Google-Smtp-Source: AKy350YNqUtsDldNdcVRUr2A7IsZt5IlAkOcPGh64RuEB1BnLl4Y0EaeHidCBuR7sApJU6l5yvJ9 X-Received: by 2002:a62:7905:0:b0:61d:f243:e817 with SMTP id u5-20020a627905000000b0061df243e817mr30835073pfc.16.1680446023774; Sun, 02 Apr 2023 07:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680446023; cv=none; d=google.com; s=arc-20160816; b=ABcSBF2aV8ZmC3trnaPaYClb/z+3wo4VocRGtQI2Kh7g8TpVHuXkXnS5Qipn8Ggupk nAAdCExaZuPfO3GGnksrf2fupQbbVNikjzvKHrAEejI4MxTdm0CG9QUibVzYM28Q3rQ4 9W6XxdS9NoLc/pePc/6U+i2H5GLQILheDVJ1y+bZMmjC2ljJWzsEk0MxHmAUslaig2u5 eHBVH9GilHxfdQ41C32JnEYmpM6Kap1lGj5JCeWucF+fxjTfWHzgCf3zoeUBN3DcLian V9pOyIZ4EAWWJQqhXOyos46nnrMPN2epi5iMOa26yvKMpZCg/TTxs/qFX6MmPGdUNHCW 8R6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0VpvWUtWbJT8YstgxikOx5Ko60XPMRGflN6BioEOG+4=; b=bpsi5kNg1usoeMX8OvWI567pM7f9MFr1v0VaaztRZYTmyTTcWBKx4JveXAeywuJ+Te kOSEp9bkxrDMOOqGrOvOLloFXw+SwKussY2NBRW4HscCpYeJ8jAdSkOuCxRst7mN7In4 CXdwdBF6QstnDV4TGo1grDDdUexzMqKXyMy1T4LR3p0jIm9lb2Fm/6lh6axx0LQadx+N LR/a9ud58laZwYPB3MNX4EsR7RRLH6VdqIEO9TOZn9DGyjDXLNkVYsr2672Mf+BIKUgu RLJNsR9IMRUg32oxMyJeUgUd0j3F/UaSDpLVArEwr3FaTi0JoYvXFQkIuFX7jHYdupdV C9Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ngsGSh04; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u20-20020a634714000000b00513c9525073si4333808pga.508.2023.04.02.07.33.33; Sun, 02 Apr 2023 07:33:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ngsGSh04; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231163AbjDBOdG (ORCPT + 99 others); Sun, 2 Apr 2023 10:33:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230522AbjDBOc6 (ORCPT ); Sun, 2 Apr 2023 10:32:58 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCF521994 for ; Sun, 2 Apr 2023 07:32:56 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id cn12so107736533edb.4 for ; Sun, 02 Apr 2023 07:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680445976; 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=0VpvWUtWbJT8YstgxikOx5Ko60XPMRGflN6BioEOG+4=; b=ngsGSh04fpEbkCAXlhuCz29S2OlIPQSejpYIDqmJbKHn1FEmdF03cvkclWt3dPBHi1 98aY2pMKuj8DoAHJ0HWplNPLn+IUNOAi01Dq984xBxz0RARgpHzDRb/mRTQ0zvAfmzWg 8gmGdnhYCl93yp6mr3qfohLkU1EcT0MzPjDToh6HXCRyclUXNK22oUEPDTbx7JxDCms3 5BlTmmTTJu7pGeT4hyKSoNL2JMNWjDEtlyQWQ6dQSIeY7IcHZ72F1oJgh4C4nG8PtJCf OlvtfhSUxWTKDP7yhDq0HRMn4LoMZt+qTAIfLXd4KNqdaN2oG/Az9xMt3bz7MC0FK3nM 8CmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680445976; 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=0VpvWUtWbJT8YstgxikOx5Ko60XPMRGflN6BioEOG+4=; b=yRPJP6GCk8gnibj4i53b80YbM4C1HBEqSuoByXcbbJN4TY1PFQaWvEeFy2nZ/v6XrD p6/14keoi2ReGEtiu5QV/Ht6b0CQsJkgF34UeVPw6BOBob5/gP112BO22kXocynOzsxD vqI6i0UMF2BHpWnB91Fsg4nmn9t2mEOi4uhBHoX0gWjAJ18Ms/eiepRhfh0hCgCuDfTG IgWBaYktuone0opzbRBNip1BZPxc19Tm9EbTSKfyFPT2XFnDvwg0DguKfmqm5mbp09QS EcgSVL1mFO4okXDhz+7JX+6OfiNAZvpQr8W3ufKSBtOgRhYw53Cbcvnw/xa7Q6nnVrMn +52Q== X-Gm-Message-State: AAQBX9dY8qdDUme1Ngv4mPm84cH4Bq2m505blqPFsBZ/47uZCO6ieon5 EvY6H4TvQTc3W+fA+U+YV43GMBQPYzzOWQ== X-Received: by 2002:a17:906:f190:b0:931:a321:7640 with SMTP id gs16-20020a170906f19000b00931a3217640mr35829287ejb.74.1680445976368; Sun, 02 Apr 2023 07:32:56 -0700 (PDT) Received: from khadija-virtual-machine.localdomain ([39.41.14.14]) by smtp.gmail.com with ESMTPSA id p18-20020a170906839200b009476dafa705sm3273292ejx.193.2023.04.02.07.32.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 07:32:56 -0700 (PDT) From: Khadija Kamran To: outreachy@lists.linux.dev Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] staging: rtl8192e: avoid CamelCase Date: Sun, 2 Apr 2023 19:32:45 +0500 Message-Id: <7166160c0face9e32dbb28c44727eb8856173f0a.1680445545.git.kamrankhadijadj@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linux kernel coding-style suggests to not use mixed-case names. Fix checkpatch issue by changing the variable name from camel case to snake case. Signed-off-by: Khadija Kamran --- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c b/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c index d37ca72678c8..448c0a931c78 100644 --- a/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c +++ b/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c @@ -35,7 +35,7 @@ struct rtllib_ccmp_data { u8 rx_pn[CCMP_PN_LEN]; u32 dot11rsna_stats_ccmp_format_errors; - u32 dot11RSNAStatsCCMPReplays; + u32 dot11rsna_stats_ccmp_replays; u32 dot11RSNAStatsCCMPDecryptErrors; int key_idx; @@ -263,7 +263,7 @@ static int rtllib_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv) pn[5] = pos[0]; pos += 8; if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { - key->dot11RSNAStatsCCMPReplays++; + key->dot11rsna_stats_ccmp_replays++; return -4; } if (!tcb_desc->bHwSec) { @@ -375,7 +375,7 @@ static void rtllib_ccmp_print_stats(struct seq_file *m, void *priv) ccmp->key_idx, ccmp->key_set, ccmp->tx_pn, ccmp->rx_pn, ccmp->dot11rsna_stats_ccmp_format_errors, - ccmp->dot11RSNAStatsCCMPReplays, + ccmp->dot11rsna_stats_ccmp_replays, ccmp->dot11RSNAStatsCCMPDecryptErrors); } -- 2.34.1