Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2668527rwl; Sat, 1 Apr 2023 12:02:15 -0700 (PDT) X-Google-Smtp-Source: AKy350YC+liuwDqFwesBQpEvkdkZOCgf/c5sKwZ2anXpcb1AJNUJPow+oUylrQmKk/SVClqMzJGe X-Received: by 2002:a17:906:43d8:b0:878:6b39:6d2a with SMTP id j24-20020a17090643d800b008786b396d2amr30799994ejn.46.1680375735256; Sat, 01 Apr 2023 12:02:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680375735; cv=none; d=google.com; s=arc-20160816; b=LpHtZ3QNJcyy9ogcDVd7Yt49fEhmwCCy5vhOe8wtX9SyVpSIf2eQ3WyxHMdHdGj5DT ZQP8zqNLKYP8NQXwP/+XtdzXPVacH3wW0+QFfq4pZwd4evRfeL7ep9RT8uyOp3U5kmWa OgK3m4kkheIM5JR0gWHvLAaAqsKSY7veL0TzK6pV2q/0EvSmOrKrWevC/crG8rbI1b/j xIxG1yc5sqsXx6j3dkNWZRvAtfQqNE6c/rXZTNtA/wkLCtGIuEsIy0joFztZxS+cCf80 4tQr2eKoct118BPkXPul67XN2ZysOKiPav1+/TKPcZ4Kre0CnNwTYEqIcWMIq3fJxY7X 52nw== 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=kQco7Dhnho/ct6vSSMXl7joYIfw/17rmQm56sqleYIY=; b=JQSgc3acMfZQenRVuHaKrlH4+9FpnzL/Q+//zQHc8TBqseQ/LfuODp/cYbLa5zXy5N IaV58T1Jlz4N+RJ3RhJJsbwI2Ddf9MQ7hNVuGpWTHdbYKjheEzqOqQixT1S9tpGHk67G e/TTw3aHYTo1qgQ3LSkgeRqPsuv4cWz7BT7dy3c43zaG/sXvhp28MIE+93JW9Q9SRy8+ Wj6ocJohK4+6X3g2s4XRyTrNyToDS3jOwyctNeQuOQoZ6yWKAHR0x+Ol0mhktCBmvo8D lOVDtPzAhTgWRwWsrCb05+c3ti4FzZsb/0bqoQ31/fFpVwuFOp+nQVDRHInqd6WT9udb g3dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mvbgNMC7; 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 jr17-20020a170906a99100b00939bca46571si4872907ejb.207.2023.04.01.12.01.50; Sat, 01 Apr 2023 12:02:15 -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=mvbgNMC7; 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 S230094AbjDAS7F (ORCPT + 99 others); Sat, 1 Apr 2023 14:59:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229998AbjDAS67 (ORCPT ); Sat, 1 Apr 2023 14:58:59 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26C75265A9 for ; Sat, 1 Apr 2023 11:58:56 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id r19-20020a05600c459300b003eb3e2a5e7bso15805722wmo.0 for ; Sat, 01 Apr 2023 11:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680375534; 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=kQco7Dhnho/ct6vSSMXl7joYIfw/17rmQm56sqleYIY=; b=mvbgNMC7G8aZnq9RyROnbbcJ9AJfsspHKmolhCfpGxpVtt0bv9TjOoPQy5eB8opITs d5V0XULFuEdq619vM6KA56OwV6nZMVSRNbMQgUD3gLKVEpD9NkGTc8jrP6K5FOpKuoa0 tRGFFRvprWjC6ABO+byMJmznp6LS9TKo+cY5tnYPNzks/fbLv4VDR9LhNyftJki9+eHQ FKBEHsq76I1uq8aHz+DTvt3X7F0iYk2dP9jgpRZtNrER6Ansni036WqnWqmBVcWkodSf xm78SDfGQRSYYiNryzs7l7rWGo/+RSqR6WnAliyHVDiNqyD895ovh4QyJq9eyw/Fo5xT 8+5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680375534; 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=kQco7Dhnho/ct6vSSMXl7joYIfw/17rmQm56sqleYIY=; b=jDjtSsaSCmajD6bi1NVHOBQO7XlGibvq7v7L5Nv3IbknfWLlZxKQsll+2BHB0DcMgK 5TmJypd8cVwtHWmJqi3Wv63jM1y7sdUmmY4wMcaw7Bhf5Jz8SVJKLig/9WeoC2svNQT5 AJj6BEMLro7DaVZsD43g78xfMeRBktNpzNZSTuLpToYrlgHnOmWRxbfZBKdIiAf01rre YMPrArDPbhmwpRmiajXQDH3c/QJwNfc3DY/mh6IMivipcL9hiLcXKTg7cK1Pno/jRqLh 4p9zIL/xXVBxiHduKfzH+9FZOwGffjDbNNvscBcVZyXTtcfdcfIYQYJ5ee97i5lkNFc0 zD3w== X-Gm-Message-State: AO0yUKURUYPjZM0UyzL1aUYOI16M4XDN4Nl95gZVJXndIE489wFILCUJ mEjyuOkv9rlXmPXWdDvOMQw= X-Received: by 2002:a7b:cd0b:0:b0:3ed:2f1a:883c with SMTP id f11-20020a7bcd0b000000b003ed2f1a883cmr25249999wmj.14.1680375534707; Sat, 01 Apr 2023 11:58:54 -0700 (PDT) Received: from khadija-virtual-machine.localdomain ([39.41.14.14]) by smtp.gmail.com with ESMTPSA id s17-20020a05600c45d100b003ed51cdb94csm14017463wmo.26.2023.04.01.11.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Apr 2023 11:58:54 -0700 (PDT) From: Khadija Kamran To: outreachy@lists.linux.dev Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Deepak R Varma Subject: [PATCH 4/5] staging: rtl8192e: avoid camel-case Date: Sat, 1 Apr 2023 23:58:43 +0500 Message-Id: <3b179b52e00b398a22cd491e8fc61d4e0edd2a3d.1680375200.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 lower-case. Suggested-by: Deepak R Varma 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 e8a3bc94efdc..1783a2eaae66 100644 --- a/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c +++ b/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c @@ -36,7 +36,7 @@ struct rtllib_ccmp_data { /* .11 RSNA stats for CCMP */ u32 ccmp_format_errors; - u32 dot11RSNAStatsCCMPReplays; + u32 ccmp_replays; u32 dot11RSNAStatsCCMPDecryptErrors; int key_idx; @@ -264,7 +264,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->ccmp_replays++; return -4; } if (!tcb_desc->bHwSec) { @@ -376,7 +376,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->ccmp_format_errors, - ccmp->dot11RSNAStatsCCMPReplays, + ccmp->ccmp_replays, ccmp->dot11RSNAStatsCCMPDecryptErrors); } -- 2.34.1