Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2835638lqo; Mon, 20 May 2024 20:24:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULg5AG9LCF3UkLvEjAE7Jf+kQPX+FLEghUYmPj5/ngJzTpqawX1IBxd+7IuDdbnSjx1qMGCNDsHX7LOsXS3a/iFKSdsHlY+SthtxgCgA== X-Google-Smtp-Source: AGHT+IE6A8QWc2+tHAlsLPI5ocN0qBmIFSgvXzd55LpDm7jyYymMvOmk2U00GRKfm84SMwqMJYZM X-Received: by 2002:a05:6a00:3a01:b0:6ed:5f64:2ff4 with SMTP id d2e1a72fcca58-6f4e02af0d1mr34618309b3a.14.1716261874733; Mon, 20 May 2024 20:24:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716261874; cv=pass; d=google.com; s=arc-20160816; b=Ox13dGtvxVnPkWTu998whLi0LUEfcnKngcAsO+PoEFRpEa/0cMKxmCU7lE6UFfd1gJ HaODdu7egZ7WGNstUHN6HqJu47UeoPGYnvpAcpu3aH/k864N66EawJX4Joi+hbPv3t2m 4XEhNuYK55i6r4xhxYfvz1E/jkZftiRNbI9O9Agz682o8M09Vm3kuOg9ox0NeYenbX0k GR44cvo5TdYxf7o+F3kmDfhX1G7JQIkdMX2c+/YV031MFmru6u1rRrB/MYPu9HYyuAmg 3BbQSekmbn/9dXtdDXUX5Qcg2n02D+CU/+ZK8b3+/Rt/whwOFS2BSIVDcVxDGmzk8wEe A2qg== 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=/beP8h/MyXUke5aaej1RngCGo0SmcFT4Mq28a4Aie08=; fh=37AjIlpjN2yTrbLzJbZyxU44OXu7aoLyyWsxWRtM894=; b=wj80mO3KISGgWycxK55VPmtZpirPnHojQ+Cmd+hJOe59syQYgQCtasm6TqeUo0v5ZP VzNE0HT+3O/zKbX0K8O0cXqTpz4zASKEdEHOv/AAKxCfDgU4TsqR3ArQ0z4mSIKr9cNk ZpBFfrQY+QAY2jIyC01NJt4tM4mYk13Y2OW5/xRA39yFR7dN2K+Auz1M+1ziGlTtB4oh 7MDMIDWDkNG9t7e+P8bXbTzh3Ut12Ot9aNubpTTCgtrmLbFbhamYLGqEHU21bRB9SEnW jjp5dkBOqr5V4WZoxoyIyBNqYtwtL8+09ierCBGcL2sONr0Kh0xDANSuYXVOTHwVC/G8 rHxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Y6th062R; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-184439-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184439-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f67a154cebsi10461247b3a.139.2024.05.20.20.24.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 20:24:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184439-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Y6th062R; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-184439-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184439-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DBA38B227C6 for ; Tue, 21 May 2024 03:21:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55A476A33E; Tue, 21 May 2024 03:17:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Y6th062R" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 C6A665FBB3 for ; Tue, 21 May 2024 03:17:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716261455; cv=none; b=iV/r0NoETuWTp2ZkteblagTAF4AIy1tpwBTmbScI8/slZp+vVKqOeQBONRrt+ze5VH2RNQ9TjcWKADjfJVomIjV+GooHUjRbSF8awoh09TCLah5GSIpRKHcmBl/Z/0CopqqIXwAlYuUYVmnU25E911lND31ciacGlluEXzlbol4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716261455; c=relaxed/simple; bh=Wr81TQ45G30xNhmOkpy6VqywIleSpREFvah2+9mPb8E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=By0DD9b0MO9+4zD6PTnQCnqS+m/TpG9J1FIax1B2bOHywhEJoMjYzp3uRGlEChDIdIsA65EBhntz4N1iwaskX8v+jhUoasrLXVyFUO4mRR0s04LUN3qSp1WhiYybfmks7COwRKeZxUoNBg/cLPjv7OyHvRR6edRBrVAkf5dqe5E= 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=Y6th062R; arc=none smtp.client-ip=209.85.214.170 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-pl1-f170.google.com with SMTP id d9443c01a7336-1f2f566a7c7so64564565ad.1 for ; Mon, 20 May 2024 20:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1716261453; x=1716866253; 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=/beP8h/MyXUke5aaej1RngCGo0SmcFT4Mq28a4Aie08=; b=Y6th062RzraJvSW00tXjf8temGuSOhPsWj7XPlg2+KOirfRs0yC+m6K+zydEAlU5zV phfbj4DjRtEzBF8EaSxj9RAdJtU1IPpm2yWoaEAHVE2RJCmf4CSlphDrCU09ODM3MXqE 09cb52NC2/KKIsz5uIU3Yzn4hHR7c0kmILNFtJKB3EOxpVvvBGsO+1UhO7WuoTl/vC8e 0NqyEG21W7Wk0piXQop7IG/u3KNnBDei6YddnM7NoWEgZ+3d68Bn0S8q6WubrYnVD8TP 8pZ7ujyv+t0n8au/FvbQ8hAPNmYKK0BgyNUQ6CaxaUghMgQeE0Z5MTGkxwbJ8uGNe68t v+Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716261453; x=1716866253; 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=/beP8h/MyXUke5aaej1RngCGo0SmcFT4Mq28a4Aie08=; b=VmnfBYLUjV1vEzvf1p0TzzwRM8JJvIqFgQZDgVtG43TGhrS8LReIekAfH+yb7vVcPB fgg1c/k+RF95ZtHhvOZphsQawehxX8Mg/bgWcCs2J0DWVxoSusZdFxWFRqoBUQPAP9PX syjzDKB3nlZvK7y+Bf3XhbErbVvtRVQ/nvxQVcKo8Tp4buHmt6vld/0DG2ADo1wE0IGF hR/Wyqe8v/gSfDEJPmgwnirQLZl2cR/TiDbgQcWn1cCLlp9HMrjSIxb7suUfzpH2HNSQ Jow6/ulLdK5jfetk6LEeDHMyOaCMbBlP9DsIPNRKGk3XqQ1fwzjAcXjSwU+J3d+dwxXg LtQw== X-Forwarded-Encrypted: i=1; AJvYcCWcRIK2eumv4GxqHbs07Lp71lmcekCL6Li3xRFYOik/lQIHRfk7qfIVysiMYspXI+D3488LBaSJ1X9o+vsGCX0b/Kp7kvO8m3F/aJZp X-Gm-Message-State: AOJu0YwScBbmO9qJ3ezQv+8jJspjdOVBskJQQIYvL0Ket1wilvE5ZStN naqR35Eru3gCcHRk0Frn9Xt/AByU+W68JwYFNIR8j85fcN0/JcsiiJ8BeMJ5xnubHLozBVtKwWW z X-Received: by 2002:a17:902:7618:b0:1e3:e0a2:4fb8 with SMTP id d9443c01a7336-1ef43d2e1dbmr289158535ad.30.1716261453300; Mon, 20 May 2024 20:17:33 -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 d9443c01a7336-1ef0bf31a93sm214885415ad.134.2024.05.20.20.17.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 20:17:32 -0700 (PDT) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: dan.carpenter@linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v2 15/31] Staging: rtl8192e: Rename variable AddReorderEntry Date: Mon, 20 May 2024 20:17:02 -0700 Message-Id: <20240521031718.17852-16-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240521031718.17852-1-tdavies@darkphysics.net> References: <20240521031718.17852-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 AddReorderEntry to add_reorder_entry to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2: No change. drivers/staging/rtl8192e/rtllib_rx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 3afce436a5d8..30bd6f49e915 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -403,7 +403,7 @@ static int is_duplicate_packet(struct rtllib_device *ieee, return 1; } -static bool AddReorderEntry(struct rx_ts_record *ts, +static bool add_reorder_entry(struct rx_ts_record *ts, struct rx_reorder_entry *pReorderEntry) { struct list_head *pList = &ts->rx_pending_pkt_list; @@ -610,7 +610,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee, pReorderEntry->SeqNum = SeqNum; pReorderEntry->prxb = prxb; - if (!AddReorderEntry(ts, pReorderEntry)) { + if (!add_reorder_entry(ts, pReorderEntry)) { int i; netdev_dbg(ieee->dev, -- 2.30.2