Received: by 2002:a05:7412:361b:b0:f9:2edb:3e4d with SMTP id ie27csp84511rdb; Sun, 17 Dec 2023 15:55:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGARjXRnRR5M+hj7OgetfHHZbVdjnhd/xadWMNoeBup3OMs/NtmjxPf6WJHhFpyYQVPlwi3 X-Received: by 2002:a05:6e02:1a23:b0:35f:aeb1:c6a2 with SMTP id g3-20020a056e021a2300b0035faeb1c6a2mr2355318ile.11.1702857341842; Sun, 17 Dec 2023 15:55:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702857341; cv=none; d=google.com; s=arc-20160816; b=SEiwF33YwTMcNHfgiVHXo82t248OpvXEyCjmG28GA16H0/rRJnm12eFwRul9wwc3qD sd3CVjCGig7/hZmenmDWTjoSNf/jVop25EAtYCLTwG7c8FnWHgIidyBkUCZBxJLxn3jC PNcCFpSXNMyDyPLbhV4LVmzGyaKbn8tUdiWBw7l6n2iIRJO79h8FPe5ddoqAvJUfJF5P S5y8uZVeu2L2wH7C4fYLTkqIxFfOfe5414rrUqYljWSogYeQDox9bJl4KpF0p354/Sv/ Qz2gRDJ6+f/zFDGv9rhjrUcH44AAXlSG8zNsv/P9mm/15a9g2da9CP7D1ZxTMOH1gM1M VSug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=FlIlq7rrvboEhaW2FAIKDo9AZsxFYdYIP5zRDMCBPuc=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=UUC4ShC3TE0tTWpF0f+QpFr9V2VK4XOGlb4CehiING4p3pUpS6OTJwyG01PORFn6JA RhVGjHoki7n2qL55xYJkQsPLbfI+APgs8kVgDq9i/oblZ4V5NMLZcC12EKLA9YQhLTI6 R+NgfdXeARq2cf432E4aP6A7746OAdvCP4+cKpmknfWgkZev0TWFeDcFHpfngG4Y3GGH qtkHOPf11Q9vfoL9oj/YO0NZmNNU0IkJg7ZcgFROCZuCE7cd2AA0DoCDWnMXan14LMFH BF7sh8oEEuSCWdv/xi30DbxO12ulTeHVjAO7m0Kb5E6H4n47/oAgqzb84/YoLTRxmnER dYFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=fDgO2nlN; spf=pass (google.com: domain of linux-kernel+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b17-20020a170902ed1100b001d35084e9fdsi2936255pld.406.2023.12.17.15.55.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 15:55:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=fDgO2nlN; spf=pass (google.com: domain of linux-kernel+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2879-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7B3882828DB for ; Sun, 17 Dec 2023 23:55:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BCB94B156; Sun, 17 Dec 2023 23:55:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="fDgO2nlN" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF7224B130 for ; Sun, 17 Dec 2023 23:55:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Received: by mail-io1-f50.google.com with SMTP id ca18e2360f4ac-7b7a9f90edaso238350239f.0 for ; Sun, 17 Dec 2023 15:55:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1702857325; x=1703462125; darn=vger.kernel.org; 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=FlIlq7rrvboEhaW2FAIKDo9AZsxFYdYIP5zRDMCBPuc=; b=fDgO2nlNl6Irt/nPw77Do2GkJPFGm/+O6fVZsZLx/gJ+bRDdbAFSVSRV/s04GgVKQ6 pofSqzK+AFyTPvwktr81ykJaAeOgjsBBest9GoNg+2Q0137LTBPYw/akJBARj22NwqNl Fazw489kVwDj9XyDMqgngCY/f7mbxLKNv3DHjw/d3bhYMIO9fpHUVeqWLYLeZxd95Ugo TS/XrkxGwbTR0sqU26rmhBt/G4LWr03Uwa58rQ5KHy74jBIQcz1tC0mVfO3aF+tcljCi jGkrN/F9zb33/doA5Wsh0fZuf4YqC36CPaWWZ+zF2K9qCZZueKJpoQE1VCZm5U+85Jod 3qqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702857325; x=1703462125; 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=FlIlq7rrvboEhaW2FAIKDo9AZsxFYdYIP5zRDMCBPuc=; b=sfLjyTuAq3qDiAoyPsOvY2G4IkDsVk/HC0untOIR3eKT0WepY7r37K7W9uuFj8r3B0 8lKTBkqg9u8VNrkystJXgX1Z79zOdp2aTxg/0rsLFbw1Zru8HLLSB/+ujGqBlJdHyvds /JkbAIMd8scUrdlqig0TwqajrzMBrDhnb07FcSDUOo9XEC7YkpxkX1X3yqCUk8BTc4Mm 70/6+4HEPk6KpHB+uPtpb/Y4XaJ6QjP4Z3yNvi/DRpOzFyJsy55H9dzkiQyI3eowEE8k 8HLVtICDPbWZhR8vJmdjik33gcJBoO2JBegK6lQoh0d36DeUiTp0xcT8tvdWyzXZU8Gj HhCg== X-Gm-Message-State: AOJu0Yx6mboY3hsNrx4SBzL3yeCrNBChYMLus4zXOLVBhbC3S8nty/3g mXAvhUL4fvJZRrvQoKf4DXCLu2S/7xEs18Lkoww= X-Received: by 2002:a05:6e02:1baa:b0:35f:a8fb:e6ad with SMTP id n10-20020a056e021baa00b0035fa8fbe6admr4077531ili.53.1702857325084; Sun, 17 Dec 2023 15:55:25 -0800 (PST) Received: from oatmeal.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id f11-20020a17090aec8b00b0028ae8284840sm9036176pjy.10.2023.12.17.15.55.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 15:55:24 -0800 (PST) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 2/6] Staging: rtl8192e: Rename array variable TxTsRecord Date: Sun, 17 Dec 2023 15:55:16 -0800 Message-Id: <20231217235520.30377-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231217235520.30377-1-tdavies@darkphysics.net> References: <20231217235520.30377-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename array variable TxTsRecord to tx_ts_records to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 401b9efb25aa..cdbda65b4d50 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -523,7 +523,7 @@ void rtllib_tx_ba_inact_timeout(struct timer_list *t) struct tx_ts_record *ts = from_timer(ts, t, tx_admitted_ba_record.timer); struct rtllib_device *ieee = container_of(ts, struct rtllib_device, - TxTsRecord[ts->num]); + tx_ts_records[ts->num]); tx_ts_delete_ba(ieee, ts); rtllib_send_DELBA(ieee, ts->ts_common_info.addr, &ts->tx_admitted_ba_record, TX_DIR, diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index d23d35d5dce1..489261831462 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -85,7 +85,7 @@ static void TsAddBaProcess(struct timer_list *t) struct tx_ts_record *ts = from_timer(ts, t, ts_add_ba_timer); u8 num = ts->num; struct rtllib_device *ieee = container_of(ts, struct rtllib_device, - TxTsRecord[num]); + tx_ts_records[num]); rtllib_ts_init_add_ba(ieee, ts, BA_POLICY_IMMEDIATE, false); netdev_dbg(ieee->dev, "%s(): ADDBA Req is started\n", __func__); @@ -119,7 +119,7 @@ static void ResetRxTsEntry(struct rx_ts_record *ts) void rtllib_ts_init(struct rtllib_device *ieee) { - struct tx_ts_record *pTxTS = ieee->TxTsRecord; + struct tx_ts_record *pTxTS = ieee->tx_ts_records; struct rx_ts_record *rxts = ieee->rx_ts_records; struct rx_reorder_entry *pRxReorderEntry = ieee->RxReorderEntry; u8 count = 0; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index e7d4ed9eb899..d8da772b0f39 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1225,7 +1225,7 @@ struct rtllib_device { struct list_head Tx_TS_Admit_List; struct list_head Tx_TS_Pending_List; struct list_head Tx_TS_Unused_List; - struct tx_ts_record TxTsRecord[TOTAL_TS_NUM]; + struct tx_ts_record tx_ts_records[TOTAL_TS_NUM]; struct list_head Rx_TS_Admit_List; struct list_head Rx_TS_Pending_List; struct list_head Rx_TS_Unused_List; -- 2.39.2