Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1187853imm; Fri, 13 Jul 2018 13:14:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeeFQYaFcI5+8rfAcmmjLS6IzfaQTvcbm+JSA6TxB9gxb0zVx2Pjm5VuUG5GNt7GTwQlvEE X-Received: by 2002:a62:fb05:: with SMTP id x5-v6mr8600380pfm.210.1531512890233; Fri, 13 Jul 2018 13:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531512890; cv=none; d=google.com; s=arc-20160816; b=Lur5HKuwbF09e1vqiEHAk8uNsFPTN2JgxbTGKu3AixtsJk3e0WKfVrZsjS9Y2mhUkA jNHBn3Ik4SwbOAw6i1I/SHpjVpZ8NACzSjB6W+2j+TyjpK6SI1YNivye8cFmX6PW7kzh XVFO5XCTQbC2w7YWT4YHXBCVW+Z/6biDvs3H3qvrRZPVhlJEf+nqyxAHIVS0jEgXFOfU /xrNn6OkOQvu3fZwHqnZbFuMuP7U+FNiOFDEJywS3GWD0yJAGxlBgSiePo1kHbr4KbdW sgkW3T4J06yHVBtlEyFECMV8NDulHmdjuYQ1M2jrlk7aJm5KYRUOL71i59qvS4bv/zBU qHoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=s8lTm1Z6epqq+e5BUDGyo/zMRNY8ddGA9ZGDa58gLvg=; b=AC/vc4JwpsYAFCgjMSDmTdhJd0M3Uldq6DwNy7RUMTCrRJEfZQJqWfIdKTqUNaS2Xc 5PvadRT8bxyzwq38bd5q0NYyVyKe0/XpGIrnC/Vgym8RWL+SQyo9MPDNkVs1ER0sjsWM mLCFpgVGj6cK7a/YUuKyzF9pz1ZrwETLeg9sLzUL6yW74bl60ojMfyjp73cE4lzUwTcP N6jLu+pB7SN8fsoeSqyD1SXJzi5kxBKwTui4vD/cYj2+aPUEjPti1x0wGF8C7y71I7EI AooMaT3H0R3LKgsLeVQ3Ehol0jkTP+8dACxd6xiSBXo4pslYs9ghky3Pgctr4BCRw6Yf Be2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rxJEnoAw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s84-v6si25975993pfd.288.2018.07.13.13.14.35; Fri, 13 Jul 2018 13:14:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rxJEnoAw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2387745AbeGMU3s (ORCPT + 99 others); Fri, 13 Jul 2018 16:29:48 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:37157 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732598AbeGMU3r (ORCPT ); Fri, 13 Jul 2018 16:29:47 -0400 Received: by mail-wm0-f67.google.com with SMTP id n17-v6so10482628wmh.2 for ; Fri, 13 Jul 2018 13:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=s8lTm1Z6epqq+e5BUDGyo/zMRNY8ddGA9ZGDa58gLvg=; b=rxJEnoAw0EQB2BhVdpzq+resRrni9f7529LmBYB/uAxOdBsHqXmKcE0iSMa78wQxUq 7Sfbf2yvFYGbFPL5Ai3v/daSrkNqJeJwsBBXyZnybz8XaA6dlSctbJ5o8vURlcIpmZCq ViQYVvrGpxNGRW/PQTi2kTB+i8kuRyVWSNwCoXxgdbxkZEUlIsG4FxgqJ4RMofWHAQCi kSPb+hHAHyCEGBz6qpWWTtpEucIm52DY9V09jxNwKH6bSFoSBgHw6lq2lgowI2075DsC n50T2d12wHZyaxoTKhrCrVf8uBpFfBhGoWoX3buZj0SMO6X+cHAoeFsGsCmjc1MN3M2L UlGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=s8lTm1Z6epqq+e5BUDGyo/zMRNY8ddGA9ZGDa58gLvg=; b=Wrxrx/0dwYw6xhv/6OK9+Zdgd+ssM8vTlWq92zbnXkCiJoB94Yvtwm2IOIoKrT2zs1 v4JLd8Zj64ozDcc0WG/M1g/1eStZpdyAtXUAg18P/Srd+ayn2qVwY4uqMLIoXCEJU0uZ nVDci1fjI0y4hRAwrBJ6OUVbg5j0aDJqP2D3jg/4r3UZYflzxBupzvlY3b12X+kmtvDg sza3RjA9Vid5D1dg8EAmWU59RcNL2VbKaAzQ8yG85XF3AV8NCeKArRGLmu3Ko0YdwAM0 OSgf+LCy9zhSMnMhak0N9joNwGk754ejYXjDOx2b7V7mM2HsDc1tLW/MFeoPUF4N4s34 5Zmw== X-Gm-Message-State: AOUpUlGEem31hQMrPPoKWIbRUWl4Dngesk4L10rIpG3Tqh3uf7qsHAM1 FgEuhr8K1xZochjFN6oWth7HWwtj X-Received: by 2002:a1c:f902:: with SMTP id x2-v6mr4466942wmh.116.1531512817382; Fri, 13 Jul 2018 13:13:37 -0700 (PDT) Received: from localhost.localdomain (host81-152-164-58.range81-152.btcentralplus.com. [81.152.164.58]) by smtp.gmail.com with ESMTPSA id f6-v6sm14072677wrp.30.2018.07.13.13.13.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 13:13:36 -0700 (PDT) From: John Whitmore To: linux-kernel@vger.kernel.org Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, pombredanne@nexb.com, kstewart@linuxfoundation.org, tglx@linutronix.de, John Whitmore Subject: [PATCH 08/10] staging:rtl8192u: Rename TClass > t_class - Style Date: Fri, 13 Jul 2018 21:12:45 +0100 Message-Id: <20180713201247.21428-9-johnfwhitmore@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180713201247.21428-1-johnfwhitmore@gmail.com> References: <20180713201247.21428-1-johnfwhitmore@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename the struct TS_COMMON_INFO member variable from TClass to t_class. This change clears the checkpatch issue with CamelCase Variable names. There should be no impact on runtime execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h | 2 +- drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h index d84092d17441..4fee83f2589b 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h @@ -21,7 +21,7 @@ struct TS_COMMON_INFO { struct timer_list inact_timer; u8 addr[6]; TSPEC_BODY t_spec; - QOS_TCLAS TClass[TCLAS_NUM]; + QOS_TCLAS t_class[TCLAS_NUM]; u8 TClasProc; u8 TClasNum; }; diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c index 8df665f4028d..bf4f60e6aacf 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c @@ -105,7 +105,7 @@ static void ResetTsCommonInfo(struct TS_COMMON_INFO *pTsCommonInfo) { eth_zero_addr(pTsCommonInfo->addr); memset(&pTsCommonInfo->t_spec, 0, sizeof(TSPEC_BODY)); - memset(&pTsCommonInfo->TClass, 0, sizeof(QOS_TCLAS)*TCLAS_NUM); + memset(&pTsCommonInfo->t_class, 0, sizeof(QOS_TCLAS)*TCLAS_NUM); pTsCommonInfo->TClasProc = 0; pTsCommonInfo->TClasNum = 0; } @@ -279,7 +279,7 @@ static void MakeTSEntry(struct TS_COMMON_INFO *pTsCommonInfo, u8 *Addr, memcpy((u8 *)(&(pTsCommonInfo->t_spec)), (u8 *)pTSPEC, sizeof(TSPEC_BODY)); for(count = 0; count < TCLAS_Num; count++) - memcpy((u8 *)(&(pTsCommonInfo->TClass[count])), (u8 *)pTCLAS, sizeof(QOS_TCLAS)); + memcpy((u8 *)(&(pTsCommonInfo->t_class[count])), (u8 *)pTCLAS, sizeof(QOS_TCLAS)); pTsCommonInfo->TClasProc = TCLAS_Proc; pTsCommonInfo->TClasNum = TCLAS_Num; -- 2.18.0