Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2380987imm; Sat, 28 Jul 2018 16:05:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeXqJdRU6KNoTav1wDPKoNUP5IpP5eGyDMo+pCPAgodmBWOKwQLyH9H6DwBd6UraQajkIvS X-Received: by 2002:a63:f616:: with SMTP id m22-v6mr10891920pgh.293.1532819129482; Sat, 28 Jul 2018 16:05:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532819129; cv=none; d=google.com; s=arc-20160816; b=x9XNvfgXUfM4VLcXxBCHm5Kk92OwSREt/SZc9/tEuJ0HGUNVFtGMXfdeHZn5H6/qAE P+fC6fzGKGPCkv8tomUkIaQgs65a+BYDdui2BldWcAF6hCm5k+h7bS9Y1EIggjEB8WGE zAy9LB86TpLkkHj3ETZ1tyGUSV3E4DzwZmed2qboOKbVwElofKoAl3Ruw+5ska3YMNll qrIzhTajR1NItDubOO9kIKjfhQWIG7bjKGqv40TKTaFj87hbBZpeLXXcK1G0LRgJc0de ngNBkKdlmYcsXS4Vk/d1mlTky/O8birslJf66go8Vm9acGawAWzKJ4YSLMPvyf+7ViWT hiew== 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=1FdxKaBA9biXmuwgATGI2n1vN+fQJCeFueRVKSiXXyU=; b=qisIHW5oF5JnHo9cLFGNKTouq/PGrNyyehXdA561Ho+KpiiCb99WU6/fQffLSxDpr0 aNM01+CCVjUl/GZ8iVNb6qm2yptNzhpESwAhnyiAZdYgdt2W4guCN6At3hCwLIgEO17Z OH+4Ru8AVSrFREWpX89RERcEJL0tQ+0W1HzPu2KMfxzooBjdv4cXQSfum+N9dmf/Fyph 1PBp0+ffCJT7Au4xLUgjW7YGJa4SbvoJZfOARkNCi+Ok8HVxatdPAS5cP7QNC966lBID 9qX9ma53rxx4Uohv/kGzQTC7tTr3KvyaeMBgvwr7Q5ZmzBe6qP3rgZ4TEmljUFBcNjFG 9qeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GPd9Q7uo; 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 2-v6si7340365pfd.39.2018.07.28.16.05.15; Sat, 28 Jul 2018 16:05:29 -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=GPd9Q7uo; 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 S1731583AbeG2AbT (ORCPT + 99 others); Sat, 28 Jul 2018 20:31:19 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36852 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731559AbeG2AbT (ORCPT ); Sat, 28 Jul 2018 20:31:19 -0400 Received: by mail-wr1-f66.google.com with SMTP id h9-v6so8724911wro.3 for ; Sat, 28 Jul 2018 16:03:11 -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=1FdxKaBA9biXmuwgATGI2n1vN+fQJCeFueRVKSiXXyU=; b=GPd9Q7uo6lSU4HFADsN/GsH6RIq/5UtS3xa+qAxZwa3ARFuGQyUGkYWWVctKuM/Kod OOCSz3avypGf8jI14IJzz2HSBqIxeKNVjN+Z+qh8KCvRfTbcMULsg5OCU2aPClIcgzbB M/GtvvLFfrMxk1etmPmVpZUzGvkIPk/pw4TvLztBzXmKj190McDqthBGYWXxn246j6c+ tQoouTieQTq1Wi0QwK60vIdELQp6MD4oe8yVpE6u07LqzIGb/sMlv+myPq8c8zD8hZ1v DUXNKrjOGn2VNs0eyQBMc2TayCj2kU4n7YNDZB/ZjwRLAjKN58jea9Whh8FSqaasybLy KaKw== 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=1FdxKaBA9biXmuwgATGI2n1vN+fQJCeFueRVKSiXXyU=; b=BxGX0FpDVxWMjhubUh3R61nsHG2ZQgp8CLFajubbBi0yKN36NkiANL6KpXnCbcQVnm 4wdqZDFlN+NfSMdonraplkioPUvUO36KTal0ameoOAdDO1af5XmQKHb3taNOx6ZFZ2ZM XZD2X/+lXzHnErW+JaThfPhOJmQUF2QmSZOsz+bYOOT0Pjtp0e3P89eg/El1GVWa7Wo2 y1vsgKtQ6fzRTrMMCkeUMJ2DZZVyWPybfYndQV64jgRnHBM0n3EtkH+pSSah9UJaDCJH ak+sHhcW23DicrTnHZCPyaiBKJn2V2p/R+ZoguMtOGgWvHSva87FDEUveEhTH4iEj4Ui /58A== X-Gm-Message-State: AOUpUlEzMzNTF59YhjuQDsQ7s18oJ/2yWYuoomYpFq7DIwI6pTKn0hIS UK5eASQIEsg3JCgul8yX40kdZnYg X-Received: by 2002:adf:9d1c:: with SMTP id k28-v6mr627368wre.29.1532818990036; Sat, 28 Jul 2018 16:03:10 -0700 (PDT) Received: from localhost.localdomain (host81-158-116-187.range81-158.btcentralplus.com. [81.158.116.187]) by smtp.gmail.com with ESMTPSA id m207-v6sm11490569wma.31.2018.07.28.16.03.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jul 2018 16:03:09 -0700 (PDT) From: John Whitmore To: linux-kernel@vger.kernel.org Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, John Whitmore Subject: [PATCH 03/12] staging:rtl8192u: Rename member variables - Style Date: Sun, 29 Jul 2018 00:02:55 +0100 Message-Id: <20180728230300.19732-4-johnfwhitmore@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180728230300.19732-1-johnfwhitmore@gmail.com> References: <20180728230300.19732-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 member variables of union aci_aifsn, which should be named in lowercase. The only member variable, of this union, which is actually used is 'acm'. This are coding style changes which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 10 +++++----- drivers/staging/rtl8192u/r8192U_dm.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h index 5856bf87c5dc..901b85139d3b 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h @@ -14,13 +14,13 @@ // Ref: WMM spec 2.2.2: WME Parameter Element, p.12. // union aci_aifsn { - u8 charData; + u8 char_data; struct { - u8 AIFSN:4; - u8 ACM:1; - u8 ACI:2; - u8 Reserved:1; + u8 aifsn:4; + u8 acm:1; + u8 aci:2; + u8 reserved:1; } f; // Field }; diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging/rtl8192u/r8192U_dm.c index 04c08ca8a0bb..7dc912dd53af 100644 --- a/drivers/staging/rtl8192u/r8192U_dm.c +++ b/drivers/staging/rtl8192u/r8192U_dm.c @@ -2338,7 +2338,7 @@ static void dm_check_edca_turbo( read_nic_byte(dev, AcmHwCtrl, &AcmCtrl); - if (pAciAifsn->f.ACM) { /* ACM bit is 1. */ + if (pAciAifsn->f.acm) { /* acm bit is 1. */ AcmCtrl |= AcmHw_BeqEn; } else { /* ACM bit is 0. */ AcmCtrl &= (~AcmHw_BeqEn); -- 2.18.0