Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3093562lqo; Tue, 14 May 2024 22:03:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWenogb37WWuTQ45uhRgLOl/ygKYwh2YskGLs7P/kLba3k0rsNeHR+MBfVu89OfnWmZXmEULswaxk58YRPRGP9bPkY0roWYd7wU4v6VmQ== X-Google-Smtp-Source: AGHT+IHi9mBOpi0gpkWUWlT4REfohOpRNo03qKzodM3C0iqtrMNIKG2PpVdyn3jWbbBQv0KhkAhc X-Received: by 2002:a17:906:7f8a:b0:a59:b6a8:4d7a with SMTP id a640c23a62f3a-a5a2d5d3d22mr954293266b.43.1715749432172; Tue, 14 May 2024 22:03:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715749432; cv=pass; d=google.com; s=arc-20160816; b=bFMMkHddrnWV5dHNPotqyCPDIz0HhIRomv3zX4r6aS3WznS0mnwRxATpOheBZHOjy4 WnHrNH+jq1GYf4yr8XlXVr1ocRXwiqXlSSF6Nrkb5bq9QPe/f7By/EY1HeYjwXkaeIMq q6oupv2H+Rn/ZPkeSsQ9HcOFDb7YMPgS/JYPEwu7cTCPfLROiBxZjaStyuqwsRARPL0K a7dlYd/iFvuAh5JHFjFcyXYmWlO6IiQ4oM0E4MAZKdLDrlcgQucqZjAsUbrNsx1IqYrb RAAxyuSSMM7H/4+sByHB7NBSaPRz5rs+bSDvWlTh/cWdDIeQOeM4+Q5jgx5qWzEtSwrJ dVTw== ARC-Message-Signature: i=2; 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=9dZh+TjKA4PTqq8oux7GZt+IFGMZGNC7LsD9Ci9/UDI=; fh=vIijchcY9ITSPcSiL38sqWt6E3j41FhajVYDVIfeKAg=; b=02j7BePXoTyvlP+zCMKdKmgAbITBwwr62RddIlaE8W/Rsaic3XHRwkRbQMok9ISWL0 bp0Qj0Wky+0tfL+kzoh5rMYaTy12pTVOiZnyIq1pHIX2xHWIC/8Mk4ymk+CxEQ1gHCqP KownwOljYlxURH6/aWEFXSOdQiG/MgrWWjyO5tBbk5CABydteR73izm+MOn3KnNeaZVJ qhfh9kFJ4xMsTOf4wvvKufSynnc1MS0X2VSlL71tb4fYDT+k5520x3Yy0HH1qPPKCCE8 Sd6mvA97KOFZywv4GjabF3cB77W8dn60YiIsn5Sl6KoET8kr5oN7oXjlK4yx6WhXd+Y8 JNDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Ob1pOn0O; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179418-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179418-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a4108c658si510933966b.597.2024.05.14.22.03.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 22:03:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179418-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Ob1pOn0O; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179418-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179418-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 53A481F233BA for ; Wed, 15 May 2024 04:55:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 229A752F99; Wed, 15 May 2024 04:52:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Ob1pOn0O" Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) (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 AFF92482C3 for ; Wed, 15 May 2024 04:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748766; cv=none; b=F1fmOoIDqok5kNO3pCMPAGK0U0cBCgXj466X839EkFQYRT2SanyPL4S6132dYECxfPeVStoh6jj3GfOEVtBVYJxh2ycyzSVcgrRP3QQC48TGu32rQs71Y3iihwVT9nQ7KFfe6cogsXMp9HWw0rDdSofjWq85qDjTshS7uVzGyg8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748766; c=relaxed/simple; bh=OQCA/Wuv/HfcLT3KLlRcg8Og+eLrIFBwwBqRoIqjfpQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=V1U/ut/MR9emH4AMaZvzpRBwcEFWIuevtNs+nxcDGoyXah1l9lLJ7ZCL/9jz1EvWX+6Au0Qt9UhtPT3dpE/a0rXReMmK4bXCas10sgVJX+qhWjf9xyBYaYWYIkeL7HQix0N4sKNlQG7lxepcT7TVEzsr4KZ+zhq0vP6z8EV9w8Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net; spf=pass smtp.mailfrom=darkphysics.net; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b=Ob1pOn0O; arc=none smtp.client-ip=209.85.160.43 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-oa1-f43.google.com with SMTP id 586e51a60fabf-241572c02efso3775863fac.3 for ; Tue, 14 May 2024 21:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1715748764; x=1716353564; 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=9dZh+TjKA4PTqq8oux7GZt+IFGMZGNC7LsD9Ci9/UDI=; b=Ob1pOn0O3PJJQ6lVf6VY7uoGsrXX7Ov9mR1czjSYGvRJ/PUTdN/r3jjGiu+URxKaD1 3FnZ/Y3uiexZQKS9NaaBSaR9H8VN6/pN39tSzZSEw0w2moVSrJbhaHbpLEK0LsXLIl4+ O3AIZiUGsDhJ4prPGbn0208Hp6JQoAFDDscq9nSRAa+YZEJ7aNhLjjqWQJtOyZDoQmZ0 vuiIsh5VxhXZyRn7xbMEbtK5inJDflsXs8xAAJ8GCEIiwN0Grxn2TnRw33Uraq0EPbFB 8CKrYi7+yk9l+ppH7n9560AHmCkyYHO16/NBFl/GwHFL1ayO6Ci8NUwF+/DOvxFTFZfo E4lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715748764; x=1716353564; 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=9dZh+TjKA4PTqq8oux7GZt+IFGMZGNC7LsD9Ci9/UDI=; b=K7nnE31wC1fIc1qp6EI5+HbZsJPADOPhrc7e6ykyzbQR+uGaqspABJgYOpNmbwZ4S1 Jm9toCWmmdw26VTUHfS+VDf5jKklcVqrzQ3KkRoReIdWdWtWpjR8qLOiXN5WmUnfsKTU /QD4twvXXwmtED2a4I6DWmDvElH+y9eSrxsMmZoJDaQbm7tCGwLoAdym0akPvDxdElGp yoEXh5oq1mqjv8P9+EYMGKNEyyNIAcM0hUb9EpP3jrihyVXTsUltnsxR8LBbhbEmQKaP Poar6Cu6jNt5ZF8yiERp/WRso/7ep0NDp2Brh3b9cDLJn/dnXWpBgth/Wcfcgyg5hl0/ xx7g== X-Forwarded-Encrypted: i=1; AJvYcCU/Fhwgc6gtF8eVZfCyqBl9grF1dME6hVaimTE2uCfCjD6LKERT3Ol7y7YMt/Jb+rTkWZar/dCco2p05yoPl7Xv4e58X84mc77KT/CK X-Gm-Message-State: AOJu0YyI3aCa8Ni2E87M/FrSVobL1k94mkxasUja6lUCJfrWPaqFzS87 IHXznFAnP7QytK4Ox2Of3xWRzECzzzq8sb2Hu+T9+5mh+8H7fM7A34G60YXRafk= X-Received: by 2002:a05:6871:5892:b0:244:bec8:febc with SMTP id 586e51a60fabf-244bec90232mr11318039fac.56.1715748763820; Tue, 14 May 2024 21:52:43 -0700 (PDT) Received: from lunchbox.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d2a827fdsm10135035b3a.60.2024.05.14.21.52.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 21:52:43 -0700 (PDT) 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 13/31] Staging: rtl8192e: Rename variable RfdArray Date: Tue, 14 May 2024 21:52:10 -0700 Message-Id: <20240515045228.35928-14-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240515045228.35928-1-tdavies@darkphysics.net> References: <20240515045228.35928-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 variable RfdArray to rfd_array to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index cdb3ebc77a53..996662a06e3f 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1407,7 +1407,7 @@ struct rtllib_device { struct work_struct wx_sync_scan_wq; union { - struct rtllib_rxb *RfdArray[REORDER_WIN_SIZE]; + struct rtllib_rxb *rfd_array[REORDER_WIN_SIZE]; struct rtllib_rxb *stats_IndicateArray[REORDER_WIN_SIZE]; struct rtllib_rxb *prxbIndicateArray[REORDER_WIN_SIZE]; struct { diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index a30945f30e14..4c8cfa40927c 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -509,13 +509,13 @@ void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee, pRxReorderEntry->SeqNum); list_del_init(&pRxReorderEntry->list); - ieee->RfdArray[RfdCnt] = pRxReorderEntry->prxb; + ieee->rfd_array[RfdCnt] = pRxReorderEntry->prxb; RfdCnt = RfdCnt + 1; list_add_tail(&pRxReorderEntry->list, &ieee->RxReorder_Unused_List); } - rtllib_indicate_packets(ieee, ieee->RfdArray, RfdCnt); + rtllib_indicate_packets(ieee, ieee->rfd_array, RfdCnt); ts->rx_indicate_seq = 0xffff; } -- 2.30.2