Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5357301imm; Tue, 21 Aug 2018 10:18:39 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyggx+W9U8ryRhuwOmWnUdtLUm9u6Kz8ZgRUHgJU/LFOw9UFEGo1KzB1zmbXpDPg/WH1VrJ X-Received: by 2002:a17:902:bcc6:: with SMTP id o6-v6mr50596607pls.117.1534871919895; Tue, 21 Aug 2018 10:18:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534871919; cv=none; d=google.com; s=arc-20160816; b=IOUqOz3PVrBJtSDliDsNPNe8ua8c/nqLzYPLb8a6P/Sj5Qx17thbvQAZW9qrPNPNod mDysWDC4JMuS6zwBzPuRjhgH0IgclKCGx82UnL3T4IuHuISD8559wKdSpYHvdDuwQE+8 Wy9ioQlxLIBPN2AqWp7/2e8nPp9O4HcRFTxw/MvICQKH3Ku+0dXPTc4nWD8HNMvQaQ90 W1CdOAy5cxenGuNTz3idkBizyGXiJlrsvaqDf/sZsR4cSDuO4ukPrAL4uzk98nqeN8Pv 1415wmUqF5sCuzFsdJHF6a5GpfbshAg47QWvsF54cseR2yDPyxpygbpH4qZFDtkwkHmg gzHw== 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=+v3RZZcADke3FZgn0buvPXW0+ejiY3WlYPCa2us/30U=; b=GkvvWA0pMrCWv3g79J+hNku9MDpip1A9ntb1lPP7TgZrrLEZnpKCjdkk8zyirYh0qu 3qUpZDjnP+/vAckhpgd35XOig257hFGV3r+XvTd+/699QLNb3EIhnxTGJg358qh6SGcC xxTFvmj6DS7dWYPhtg349sx9kcSjDSgaezSyZfGRIOIT10spYZLElub4om/+ZhPeVBx8 tGTiolDmp3EFeLob+v7P/ZRpiWu2YktViCf3tizHL5LXmIkGG5Yj/Z20ao/0nP9D68eQ PJMJVA34QJsacgTN09kToFqj3Agj5z4wHrt7mgib9gy/SiPavgw3+BvqqNVLrQJ61omi oYww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lCFzkXaA; 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 u22-v6si9902699plj.434.2018.08.21.10.18.24; Tue, 21 Aug 2018 10:18:39 -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=lCFzkXaA; 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 S1727661AbeHUUhB (ORCPT + 99 others); Tue, 21 Aug 2018 16:37:01 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:37762 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727027AbeHUUhA (ORCPT ); Tue, 21 Aug 2018 16:37:00 -0400 Received: by mail-wm0-f68.google.com with SMTP id n11-v6so3527024wmc.2 for ; Tue, 21 Aug 2018 10:15:58 -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=+v3RZZcADke3FZgn0buvPXW0+ejiY3WlYPCa2us/30U=; b=lCFzkXaAG2wDJjRI7f8TkFHvYZrQ6cOavIdwvdUBjZNOif93KnO7swxxaJSApVoIwG wPEXPcwDv3PQR32fMycMsCEbU+qpoG2JUNvG2bkzqZWxxijljrVvH0TTjigyJVRaJSGs LohoRpQ1fn7JP3JI7wV2It9l07e6cCLVGR9JiBb7REjMKzUss5UvvM5VL9fp72k6dDJo TsGVMpnvblQn5q7uWuISwYNb3+AYqLtZWfh+MXpwd9mJH2fmFcUe00JgEOesIyAbvUX/ HVLCjSO1Eok68VHpZWTeIxCH9sM+qHuUZLT28R2JaxMfkZ71ds/LIG/SvIJKLVYEOTtg htMg== 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=+v3RZZcADke3FZgn0buvPXW0+ejiY3WlYPCa2us/30U=; b=N5ZuoW3sVGxe8YtJT2PetWpRTLPyELOFVRB/3gj0e+bmpOZMAqYxoUE0sQZOlOAjL8 CyO3O7WpqmAP3D43jm1mpTds/zqL95w2rBLRbP0H4NGITEmHXqoN9ZR8hHoALCsXGiOZ QNfAftPo/dl8whtywONdHXAivc4oOdUf8peri6L9Ol39yAZaJaNlH8V3heoC5Ntv7AgP P3VXhjoRabkKj4Bu4hqKosMu37r/fD6ed6TJufYrBg7DyMQYO4lqMyvUq+iyl2avRTqw eHDk1lmeLqxOA3lvrEGq57QImW/XLZkmphutpJldTb0N5OuiE5/e/UYPamOfCjXFKjC3 qrKQ== X-Gm-Message-State: APzg51AixJ4Y8VK64WuahIB183jg6XKEp0SGduYTHpqaYVyVIxcbH+Vn +OhFubnxM4/uQ30wnDuLwM99NXHqpJg= X-Received: by 2002:a1c:adca:: with SMTP id w193-v6mr146636wme.147.1534871757754; Tue, 21 Aug 2018 10:15:57 -0700 (PDT) Received: from localhost.localdomain (host86-148-21-150.range86-148.btcentralplus.com. [86.148.21.150]) by smtp.gmail.com with ESMTPSA id 88-v6sm7564292wrf.95.2018.08.21.10.15.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 10:15:56 -0700 (PDT) From: John Whitmore To: linux-kernel@vger.kernel.org Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, John Whitmore Subject: [PATCH 11/17] staging:rtl8192u: Rename member variable Timer - Style Date: Tue, 21 Aug 2018 18:15:31 +0100 Message-Id: <20180821171537.9330-12-johnfwhitmore@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180821171537.9330-1-johnfwhitmore@gmail.com> References: <20180821171537.9330-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 variable Timer to all lowercase to clear the checkpatch issue with CamelCase naming. This change is purely a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h | 2 +- drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c | 10 +++++----- drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h index b1697cb483ff..a36e8ecc6c59 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h @@ -50,7 +50,7 @@ union delba_param_set { }; struct ba_record { - struct timer_list Timer; + struct timer_list timer; u8 bValid; u8 DialogToken; union ba_param_set BaParamSet; diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c index cb84335468ab..3e88333688ea 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c @@ -20,7 +20,7 @@ static void ActivateBAEntry(struct ieee80211_device *ieee, struct ba_record *pBA { pBA->bValid = true; if (Time != 0) - mod_timer(&pBA->Timer, jiffies + msecs_to_jiffies(Time)); + mod_timer(&pBA->timer, jiffies + msecs_to_jiffies(Time)); } /******************************************************************************************************************** @@ -31,7 +31,7 @@ static void ActivateBAEntry(struct ieee80211_device *ieee, struct ba_record *pBA static void DeActivateBAEntry(struct ieee80211_device *ieee, struct ba_record *pBA) { pBA->bValid = false; - del_timer_sync(&pBA->Timer); + del_timer_sync(&pBA->timer); } /******************************************************************************************************************** *function: deactivete BA entry in Tx Ts, and send DELBA. @@ -669,7 +669,7 @@ TsInitDelBA(struct ieee80211_device *ieee, struct ts_common_info *pTsCommonInfo, ********************************************************************************************************************/ void BaSetupTimeOut(struct timer_list *t) { - struct tx_ts_record *pTxTs = from_timer(pTxTs, t, tx_pending_ba_record.Timer); + struct tx_ts_record *pTxTs = from_timer(pTxTs, t, tx_pending_ba_record.timer); pTxTs->add_ba_req_in_progress = false; pTxTs->add_ba_req_delayed = true; @@ -678,7 +678,7 @@ void BaSetupTimeOut(struct timer_list *t) void TxBaInactTimeout(struct timer_list *t) { - struct tx_ts_record *pTxTs = from_timer(pTxTs, t, tx_admitted_ba_record.Timer); + struct tx_ts_record *pTxTs = from_timer(pTxTs, t, tx_admitted_ba_record.timer); struct ieee80211_device *ieee = container_of(pTxTs, struct ieee80211_device, TxTsRecord[pTxTs->num]); TxTsDeleteBA(ieee, pTxTs); ieee80211_send_DELBA( @@ -691,7 +691,7 @@ void TxBaInactTimeout(struct timer_list *t) void RxBaInactTimeout(struct timer_list *t) { - struct rx_ts_record *pRxTs = from_timer(pRxTs, t, rx_admitted_ba_record.Timer); + struct rx_ts_record *pRxTs = from_timer(pRxTs, t, rx_admitted_ba_record.timer); struct ieee80211_device *ieee = container_of(pRxTs, struct ieee80211_device, RxTsRecord[pRxTs->num]); RxTsDeleteBA(ieee, pRxTs); diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c index d46d8f468671..317d275edeb0 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c @@ -151,9 +151,9 @@ void TSInitialize(struct ieee80211_device *ieee) timer_setup(&pTxTS->ts_common_info.inact_timer, TsInactTimeout, 0); timer_setup(&pTxTS->ts_add_ba_timer, TsAddBaProcess, 0); - timer_setup(&pTxTS->tx_pending_ba_record.Timer, BaSetupTimeOut, + timer_setup(&pTxTS->tx_pending_ba_record.timer, BaSetupTimeOut, 0); - timer_setup(&pTxTS->tx_admitted_ba_record.Timer, + timer_setup(&pTxTS->tx_admitted_ba_record.timer, TxBaInactTimeout, 0); ResetTxTsEntry(pTxTS); list_add_tail(&pTxTS->ts_common_info.list, &ieee->Tx_TS_Unused_List); @@ -171,7 +171,7 @@ void TSInitialize(struct ieee80211_device *ieee) 0); timer_setup(&pRxTS->ts_common_info.inact_timer, TsInactTimeout, 0); - timer_setup(&pRxTS->rx_admitted_ba_record.Timer, + timer_setup(&pRxTS->rx_admitted_ba_record.timer, RxBaInactTimeout, 0); timer_setup(&pRxTS->rx_pkt_pending_timer, RxPktPendingTimeout, 0); ResetRxTsEntry(pRxTS); -- 2.18.0