Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3438498rwl; Sun, 2 Apr 2023 07:34:58 -0700 (PDT) X-Google-Smtp-Source: AKy350bc9185+Bd9s5Z4p7ahHjDmUtFJAL60l7nuDoMHIDfjAYus5phFnhErHJARoKfi16fYe2Dl X-Received: by 2002:a17:906:3449:b0:930:9197:24d1 with SMTP id d9-20020a170906344900b00930919724d1mr15559523ejb.6.1680446098311; Sun, 02 Apr 2023 07:34:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680446098; cv=none; d=google.com; s=arc-20160816; b=iqY1RJTtSdUGWINFSG2oF0I3MUHcfL/Lm6t7s+UC41qIi8OVFCJ9fl6i3/huRSVPzU kxheNJ03Y+kJG5HOUlvgTgNL9nwR9KalFV15YFLNzqh20AUu08Z/CcI3cUj5nMjNZ/iB F5ylgMGi1epVlXIsoIORbCoNnvkmIEHlSeCm6L2nKLvf6wd9VtpfM8tEkwDU8aUZyDK2 bx7a/AbptsmXa5X9CBPruo/SqOt7IVmURRg+QEq/VgO21HcWUlMmezbHeTNJ+YIvwTDc R7wpcrr3QupvYXW2MCW2OQt0FFpyOC4ZRtTQ+oJCugNlk2SA7lnAy0nb+WBMnEXcSrjN yDpg== 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=81yzIuoBJY31RIgCNtPXI4MH4MI0Ymz/ovjpa7G5Au8=; b=U9xXuxePJl6FxcetIGqHfmwFh/aklOqOC3n8pbjEwPDb1Ez+uhXxr1PUeRBj24N9zG xhcEOaRxa1hkaZyFWtsMjfw8ZTHNP8JiF/r8HG4CJ2MeBO6Rr8/kozk9DRjoHuywbvIK iSFh+ntbF5RHKuuPIju+9DPkv7Q/dYdfazIrhlfik2FUk6NQ96YY/sC/W02JlSyRqRjy 0xd8mMNCal/L++DgPErdpIj80OkatyVuo3qLGL5PZn1UpzP3h/p56AyaDfXoGLkn3i+g ZrzVlnL7cpkzjkodfd+o62///bImi3XruKhfbfmH7t7Xr2S4faLeeXH+WvTQMglugfjq QpSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mz8q8tlT; 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 lo21-20020a170906fa1500b0093defbd627esi5458838ejb.1029.2023.04.02.07.34.34; Sun, 02 Apr 2023 07:34:58 -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=mz8q8tlT; 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 S231215AbjDBOdN (ORCPT + 99 others); Sun, 2 Apr 2023 10:33:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231159AbjDBOdF (ORCPT ); Sun, 2 Apr 2023 10:33:05 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A3D82682 for ; Sun, 2 Apr 2023 07:32:59 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id h8so107712098ede.8 for ; Sun, 02 Apr 2023 07:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680445978; 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=81yzIuoBJY31RIgCNtPXI4MH4MI0Ymz/ovjpa7G5Au8=; b=mz8q8tlTRahr4dUJqiWpfSFk/N5vv6BLwE3qVuiCsEYdc/9lsa0OL2zlXz9KCo/NQQ DiPa3GFA4WkUWpNMJdWWumgcd8swVdzafrOhHnOBNi8qZ3XGv5Na+jxcwGDSDrMvbtC9 OzlmQwlz36Gp/gSfyaOFoHgWIX4CfNHJT9T8h6xAjwCTojXywY0/hEfXP1WzmKo1YbCX aIbC1Knr8I+lpuC4YrKpYu+T4YsLIIS9nq8PoYwKi+QnnB9oWlPFmAqqvH8obAWYf2vu lWo8uab5iTo+IFTmSXBygZh4UTRSIF7jNMv2ba7Zh4pcwi1vvc8Uw4vWpCUrZVrF9H54 sjMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680445978; 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=81yzIuoBJY31RIgCNtPXI4MH4MI0Ymz/ovjpa7G5Au8=; b=pxaPYHF2ZpxU18vVXC3xzXAGjRCSO4TqbDoROBZ/MClyf5wty1VfKHW6K/S4QfPEQP St8NqZPVXdGn4/ADQ1kiqIEDp6Hi/nKuTfSZvTLmFxVNJUWCjjuKdkDmB8VgHm4UK6f0 +miMLty8RTj38Fkw0zFdI+E9pzhrT/1YIkeOMXpzUJNR+h3nMuiuCBfFEj7dwgr2mY0F WYZu3GkCNIbgamddZOZtRExE88orcEmENMC5eCKPO5Lm1N6QzM3/pa7DRhyKh+ezwJ1y xHDgAKvMdaL75pOA7QprkEmUO+XlP7WV2myLYd3TLSVKZ/DN+hwHqmCsAKrr1VpKKeVi 4A6w== X-Gm-Message-State: AAQBX9fv15LOTBbRntZfYzdNxYAO5CjfR/gw53vlYXI5UFovCLcFRe4G PINjdVwRlkqClp14RPbJOYU= X-Received: by 2002:a17:906:5d03:b0:92f:495b:bc7c with SMTP id g3-20020a1709065d0300b0092f495bbc7cmr17158572ejt.23.1680445978075; Sun, 02 Apr 2023 07:32:58 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 07:32:57 -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 5/5] staging: rtl8192e: avoid CamelCase Date: Sun, 2 Apr 2023 19:32:46 +0500 Message-Id: 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 448c0a931c78..f88096bcb181 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 { u32 dot11rsna_stats_ccmp_format_errors; u32 dot11rsna_stats_ccmp_replays; - u32 dot11RSNAStatsCCMPDecryptErrors; + u32 dot11rsna_stats_ccmp_decrypt_errors; int key_idx; @@ -296,7 +296,7 @@ static int rtllib_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv) pr_debug("CCMP: decrypt failed: STA= %pM\n", hdr->addr2); } - key->dot11RSNAStatsCCMPDecryptErrors++; + key->dot11rsna_stats_ccmp_decrypt_errors++; return -5; } @@ -376,7 +376,7 @@ static void rtllib_ccmp_print_stats(struct seq_file *m, void *priv) ccmp->tx_pn, ccmp->rx_pn, ccmp->dot11rsna_stats_ccmp_format_errors, ccmp->dot11rsna_stats_ccmp_replays, - ccmp->dot11RSNAStatsCCMPDecryptErrors); + ccmp->dot11rsna_stats_ccmp_decrypt_errors); } static struct lib80211_crypto_ops rtllib_crypt_ccmp = { -- 2.34.1