From patchwork Mon Feb 26 03:59:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 206258 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1870079dyb; Sun, 25 Feb 2024 20:51:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWB7l6ElgpFiNLjI0NVxjgLM9LcNL1YreluvznQnTJ7qsYKlk69poRLNjny7wR+CUt+1yQR1d7FooXJYHGaVdDwGBGIxg== X-Google-Smtp-Source: AGHT+IFtCOmNu+W1kv51WCQn9z9wYHtkq/u4f+dau5eudr5B4KQMHXy4h4pN9P1dQJ5UArh2zo0s X-Received: by 2002:a2e:9605:0:b0:2d2:7d73:7b3c with SMTP id v5-20020a2e9605000000b002d27d737b3cmr3108471ljh.8.1708923100981; Sun, 25 Feb 2024 20:51:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708923100; cv=pass; d=google.com; s=arc-20160816; b=zTfQLutg+gWPCkokW7qXHyjeKs9+CMSMtdbIH0w8Gb7N7JCvhoBaOfAvhHMtJjTmFN hDbGwnboN77m8hJzYj+PqFLmx1jruMW6HUb7B4Zh8onvhxxO3f3iONQlmvmXieue6BWc NeAfcuUhnJ4Zh3zl2U1ky+6XorFptDkE7gKHpGjRcvsG7sM+pCeoIEZcg3VDv2FiqW0V rYegaBEtI+Lo6Exy9FYO1d/MYEJCYdQhXnUthWWan2vbDevIq5YkQ500/Tu3DdfkrXe3 +J5lGZEAPE233m1xmkQelmjvpAkEOpgJPhc56rd7yJGt9svP9EgGgoRIwoNQjxVYVV8K HhJw== 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=JV07OOKtBhvvjlkzVTWXYYy+Q8Ud6DjYC8gS8WRZRDQ=; fh=9UqWD6lsMv44W0Ql8orzYp5XO/rZ8C3BaBx+kroPt5Q=; b=O6MtfKr+McrzvGFpcTGVyeuA2xdglH95dhhlkhdhudTkJee3v/vNy1qlxQrHyjDwOZ pWz2V3N/lMPfkmlKblHx8BuwWYMs2wLwZ9GOPZBv3x0pPF4bcnzjluzVj0ibusKjTYPp n+8WMmL8EvLzq7mk5y2TbU9x0VSiaujdSRS18Flb0U+rm+GlR6n4YW+Rsp8FzA1ZQGqJ y1QBJmJXk9zB0g6tJEv9RY0FP0tBrlX0KSk9GUsNf6cmHTsemp0UOzbOLQzzgqmtCsMh bh/eTbWD27XUSIrI1nOaVmFS3/KFOEQyOgaa4OJR4Ss8sFbs/oQw4MGg/NgbYoVMWdWj oS5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=akQb35X2; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80512-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80512-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z17-20020aa7c651000000b005654d6a248asi1759157edr.85.2024.02.25.20.51.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:51:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80512-ouuuleilei=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=akQb35X2; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80512-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80512-ouuuleilei=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 4683D1F26967 for ; Mon, 26 Feb 2024 04:04:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96106433DD; Mon, 26 Feb 2024 03:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="akQb35X2" Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (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 134D71CD32 for ; Mon, 26 Feb 2024 03:59:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919962; cv=none; b=JVRIO8IGQfgZF3Y9fJOse/XGFXlxKVMGJGKzIwWzD0j4a3aB04VtX6/uK2QK7EdZaOXVGZ6gbh5RmjW3cKEQYAoPaiuvF02tzpvRrDHPySPfyIn1yjy7zqNClZ7xImbcU9e1UFWzL121naYWwFPJJIutZXi3Bz5U/CQqrXPzQYc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919962; c=relaxed/simple; bh=XMhOdgnSD6GDUy09AMGDG/6abedE0Ur/5K9wiwhXNEM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gEKjzKfVFBiv8u9UKmOXN2LPFWF4oUz5Xmu2tl4RHV3xBFNt53fZFaHiOtf13kpUnYIj0P2eiOPQJ4pdOE6rO3WznwZyvUjqboGLpilI9ZY80Wy4Uad3UZSyryFgsxOcJf8jjUJLj8tO7fmoUu79uOKCTFq6L2lMAXmTPEOaW00= 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=akQb35X2; arc=none smtp.client-ip=209.85.214.179 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-f179.google.com with SMTP id d9443c01a7336-1dc29f1956cso16073975ad.0 for ; Sun, 25 Feb 2024 19:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919960; x=1709524760; 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=JV07OOKtBhvvjlkzVTWXYYy+Q8Ud6DjYC8gS8WRZRDQ=; b=akQb35X2PjbUatKH7bNtdb07IdtfACLhJeVDtWWgGPxAUCts4nuZdKoE/n1srWeP6l mKMRvFk30otBg50/XiZwknt32GUgWVW9ZozmeILNLd+oE9Ip6DmZg65B2abQ4+VVCYE1 UGX4346op6S8pa+7EgPK8/yDNkYtCi6T7nB+FctxOccBeyYeSBQc2q0/IMZblVf6HqwT LEg18AsLVYSbcbxapEfCMGRPbZz0Ww8UjbPEEe3y8wqSXGLnPdWU4KKqFWhp39z35KWM rJohxRVCOoJ3UIbsvmtZfw3k1Mt4esBKFTi6ZAiE8pWZqXMVamIXA0aGOtCgN55Jrr/v kQXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919960; x=1709524760; 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=JV07OOKtBhvvjlkzVTWXYYy+Q8Ud6DjYC8gS8WRZRDQ=; b=BOGMA73YN7b3s14/7BadpvE5LpR7HpaGW6kqrHa7SWb+i6I4TaeQ9hMLH5cVrblFxH yMsh08K8m1QXL3XJmd8iJzBhvF5ZXZC5VVvZhFUpDwIBwXHH76kP3kzzRSZwFGVZZpAw sdXQJz4a207qBolJd7bGps4AzNyDPgA7pmTkfte9lC+hK/TLUTR+pCKa4wpQR16ZFv7X nKcmVl4N5NhuKuy6gNbBsEUjJOvGrw641KLtq0urFMXmDCMrvr/wRCczH0F+Qi5q1XpV h6Dm9HD8noAJi13NNIXWn1fmARMmKdTD3QOh+Nm6GUfBs8XoY+AR//VVqFzETCodVjx2 Ck1Q== X-Forwarded-Encrypted: i=1; AJvYcCVwHUEJgX58XBsIvJLZLH2J8v956b/A00X3Z0iC9HH2LWj/7zGZZLtJOm8bcCjkMUx5i24+fRnqm05WahAxo/aYop0VV2eaBnoqrJKp X-Gm-Message-State: AOJu0Yx7CYHBfmUcGMBV5Ox2Tg6b9bMTaXIxRYcmIHhUmZXLyeL/RR5C A76y6fjRuJuyiMUuz1U3G+vbW3nTsUpXVXWNFX/gshGUoB8+cojfus5wmV39txA= X-Received: by 2002:a17:902:ebce:b0:1dc:156c:a864 with SMTP id p14-20020a170902ebce00b001dc156ca864mr6143522plg.4.1708919960334; Sun, 25 Feb 2024 19:59:20 -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 iy13-20020a170903130d00b001da105d6a83sm2893426plb.224.2024.02.25.19.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:59:20 -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 1/8] Staging: rtl8192e: Fix 5 chckpatch alignment warnings in rtl819x_BAProc.c Date: Sun, 25 Feb 2024 19:59:08 -0800 Message-Id: <20240226035915.370478-2-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035915.370478-1-tdavies@darkphysics.net> References: <20240226035915.370478-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791935749537650206 X-GMAIL-MSGID: 1791935749537650206 Add tabs and spaces to fix checkpatch warning: 'Alignment should match open parenthesis' Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index bd1d86e0323d..c06633867641 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -254,7 +254,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) goto OnADDBAReq_Fail; } if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst, - (u8)(ba_param_set->field.tid), RX_DIR, true)) { + (u8)(ba_param_set->field.tid), RX_DIR, true)) { rc = ADDBA_STATUS_REFUSED; netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__); goto OnADDBAReq_Fail; @@ -277,7 +277,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) ba->ba_start_seq_ctrl = *ba_start_seq_ctrl; if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) || - (ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) + (ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) ba->ba_param_set.field.buffer_size = 1; else ba->ba_param_set.field.buffer_size = 32; @@ -338,7 +338,7 @@ int rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb) } if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst, - (u8)(ba_param_set->field.tid), TX_DIR, false)) { + (u8)(ba_param_set->field.tid), TX_DIR, false)) { netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__); reason_code = DELBA_REASON_UNKNOWN_BA; goto OnADDBARsp_Reject; @@ -433,7 +433,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) struct rx_ts_record *ts; if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst, - (u8)del_ba_param_set->field.tid, RX_DIR, false)) { + (u8)del_ba_param_set->field.tid, RX_DIR, false)) { netdev_warn(ieee->dev, "%s(): can't get TS for RXTS. dst:%pM TID:%d\n", __func__, dst, @@ -446,7 +446,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) struct tx_ts_record *ts; if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst, - (u8)del_ba_param_set->field.tid, TX_DIR, false)) { + (u8)del_ba_param_set->field.tid, TX_DIR, false)) { netdev_warn(ieee->dev, "%s(): can't get TS for TXTS\n", __func__); return -1; From patchwork Mon Feb 26 03:59:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 206247 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1864708dyb; Sun, 25 Feb 2024 20:30:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWRSgKIXFoS81Kw6wQRa1JmJgKZ3x4STsZ5oUrj0TQtXbmQkUBRx5lmJjwGhWJpiJwnE41RSyqwfamvgIe/0ClYci9zAg== X-Google-Smtp-Source: AGHT+IFGvOfehjvOkyzwmGevhP19al05c9BuohEkv9gCJZR9H5has/uHelcg0N7eizzdp9PqT7wp X-Received: by 2002:aa7:8450:0:b0:6e4:5cf5:1b5b with SMTP id r16-20020aa78450000000b006e45cf51b5bmr5051718pfn.30.1708921813165; Sun, 25 Feb 2024 20:30:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708921813; cv=pass; d=google.com; s=arc-20160816; b=X61jqh1jrkTCM++T0HrBv5oyE2vPZKnXz96D9GF0P+2AaWDX4WFOzs0jot1qqKljbc sSgGTohhGaAuST42wVK6ZKcR9+1Y/b1eQAJ7BvS8YTEw5aHu+yXSYnmar8OjgeqpoRo7 DY2cSTXeLoCstIKbtfKnhwD6cOctguTZH4p/ZYxqkvJR+Ce+E46TjQH2vhhvGXEUvYnj ceEEBZT9KxRADEtID99JK/wu6QTjKxFNwXYUS8QsVFvWbClE6TUOWEz63cb9wIGyJakB ZH25OedvwUh84DwbitUDW5byl/ZhT/9V4mpfRaGUNsZ/F+YeKUCMGn1FY9uU2XPWR4FE 6v0Q== 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=88SDs5w2MY5mWdpm7KClCN1gnNwWnjOc3NGMH26ZbvA=; fh=cYEuaPKHjbVebdUj7jb5DpDVZ/Fxj1xYdWKTX3jy0To=; b=L0nR8VrNT3Hs8R/rNXXpVZvToIrZRprR2UXcG9RhjRSm+2I1E5I3+J8w2zwo8TJXKp nb4zDRzDobUGPDX+OUXfvUugQ7XzCSWotG9B1stAxnZdCH61CHAHyFfA5PkwWUylaaoJ MkdzM6nGkRODkQvK4FLJ2/872Azsh8bLChu6UYWGLLS6PSA1tEpMk+IGRECN2Qtu0V/J OX5U6L/c0gCqvB2POfTaiygjgUY4fMc9TTzMinz/Lovh/6GzzYoAmPIuK/Z9mpHznXDV 7Ocj8Hvtu3KgQSoFTfU7CmOiyM2rTBnGJnJ69Gi/qgsixYpRWU9H/R//ciIVRh/q11WF OJTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=WY4CX7oN; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80513-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80513-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m12-20020a63ed4c000000b005dc080c3e7csi3096982pgk.86.2024.02.25.20.30.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:30:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80513-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=WY4CX7oN; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80513-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80513-ouuuleilei=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 E6C77284593 for ; Mon, 26 Feb 2024 04:05:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC4394D106; Mon, 26 Feb 2024 03:59:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="WY4CX7oN" Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (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 0A4511CD3B for ; Mon, 26 Feb 2024 03:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919963; cv=none; b=TCi+27MEzq/g/34QsTrAltKZPHPV+7/GyosIKbfXCY8jdGstt4qeRc7B9yG9Q6fbrT//wpSJYrYyF+JivAi8mfS3C7dheuDK6xoRYgPYPIcfo/5L/x+8e968WNnisRFRQ6dF92yxrSW2Ql7TuqpuZeqCYjWGkLqplpu6zSp9fv8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919963; c=relaxed/simple; bh=9dOFkhnaSWEiTNeTcyRPAntKh09djoq4BBpWP88iABk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kFZJIWuOMPQbKMxLMYZlUB8CxQExveQPpbpJuIJX/gLV7vrXVcQjJkceRd+e2erB/Sg3RTpRbigr5I9HQlwmH4byrwQqiYghT5dX1FC8Q4QiKFAIPerVGz0VRHQ0fJStCaWeuIODGatKWFOIubARVXcYDCiSBITAr4TMPpWD0mw= 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=WY4CX7oN; arc=none smtp.client-ip=209.85.214.181 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-f181.google.com with SMTP id d9443c01a7336-1dc96f64c10so4532855ad.1 for ; Sun, 25 Feb 2024 19:59:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919961; x=1709524761; 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=88SDs5w2MY5mWdpm7KClCN1gnNwWnjOc3NGMH26ZbvA=; b=WY4CX7oNKQ4s9z2H/oGxPzedlv32aZZsSA30QRJXpxbcQZO5GmdDobTV0qdy1u8hRF psPLHEpTYgU/21Mn312YfJIn0/JkHl7mRNYDl58+Ec7mu6AGggQvw9+TquSRCOIGRUmU Kd70rsUyPEaqJYC1pOaD+5gNInd72LYyHn6GzRutU0tTjICC0uPvHXxQx/lSAkY6bVr/ MvsQnd4Xwa59mIxZYDtjVdibBetwTbRgSOaoopxUyKUFTsWRAp3a0zHplnvmz7q8RRAU 72WWXfZbK2VH9o4VAuGetp/XVB9j6PBd5MXa9Hsnwyj2I0VqiWkLfTJ0o6OxgPhkbHKH JZqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919961; x=1709524761; 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=88SDs5w2MY5mWdpm7KClCN1gnNwWnjOc3NGMH26ZbvA=; b=A6YmYhj4cAG0cPj1oCoDRfhWj0zCWFpAgKt+ChE1qCvDtVKy97D7xZW+6S6j5+T1zI 3GIrOw9K2PBE5tq84/GsgX6D4hp+P+f/j3COJxuf1Ms6bCOiVuHbxF3VhohKamdTW0Aj YxN6VQgQ4GQ1JEDlqAq7Uu0tjRj0zkVRwizY2ZlbYifnkODIhH5yzTMsdbr0KWYNldCj nPuDGkzaIn/jE3g17Rcnkl1RrT7Uexn0WaSfby47jPFCRLhcmRxESEri2ygsEWdu14jJ N6NbVSnn9VikEddfT0i/LjltDEuxmvmK5piheiDbUnUqAi7e3w8SjyEkyTWC9ISNq0Fl EHcw== X-Forwarded-Encrypted: i=1; AJvYcCXAHQHSvWwfen08gMSZfmNM2HNHVQ343yqEv7gjkNPzYhHNu3hbfBi6R/K9rgNy9Y2fdmW9r9B0ekgKGbP6xqNA+5UcQfpvL+vNJbrs X-Gm-Message-State: AOJu0YwQKmqS8wYfci1Fr/pg4vqrXqlW0GRew/0jyhDZo9JmkfS/FBbq T9gA/bru0d4KnpaUAJVCqKVyF46qd3E7gleJ55urqvg8ASw37s4AMIqlD3HTFIU= X-Received: by 2002:a17:903:120c:b0:1dc:1831:8ede with SMTP id l12-20020a170903120c00b001dc18318edemr5950697plh.53.1708919961518; Sun, 25 Feb 2024 19:59:21 -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 iy13-20020a170903130d00b001da105d6a83sm2893426plb.224.2024.02.25.19.59.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:59:20 -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/8] Staging: rtl8192e: Rename variable TxRxSelect Date: Sun, 25 Feb 2024 19:59:09 -0800 Message-Id: <20240226035915.370478-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035915.370478-1-tdavies@darkphysics.net> References: <20240226035915.370478-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791934399408297453 X-GMAIL-MSGID: 1791934399408297453 Rename variable TxRxSelect to tx_rx_select to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 18 ++++++++--------- drivers/staging/rtl8192e/rtl819x_TSProc.c | 24 +++++++++++------------ drivers/staging/rtl8192e/rtllib.h | 4 ++-- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index c06633867641..030e0a87c931 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -125,7 +125,7 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *dst, static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *ba, - enum tr_select TxRxSelect, u16 reason_code) + enum tr_select tx_rx_select, u16 reason_code) { union delba_param_set del_ba_param_set; struct sk_buff *skb = NULL; @@ -139,7 +139,7 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, memset(&del_ba_param_set, 0, 2); - del_ba_param_set.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0; + del_ba_param_set.field.initiator = (tx_rx_select == TX_DIR) ? 1 : 0; del_ba_param_set.field.tid = ba->ba_param_set.field.tid; skb = dev_alloc_skb(len + sizeof(struct ieee80211_hdr_3addr)); @@ -199,12 +199,12 @@ static void rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst, } static void rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst, - struct ba_record *ba, enum tr_select TxRxSelect, + struct ba_record *ba, enum tr_select tx_rx_select, u16 reason_code) { struct sk_buff *skb; - skb = rtllib_DELBA(ieee, dst, ba, TxRxSelect, reason_code); + skb = rtllib_DELBA(ieee, dst, ba, tx_rx_select, reason_code); if (skb) softmac_mgmt_xmit(skb, ieee); else @@ -486,9 +486,9 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *ts, void rtllib_ts_init_del_ba(struct rtllib_device *ieee, struct ts_common_info *ts_common_info, - enum tr_select TxRxSelect) + enum tr_select tx_rx_select) { - if (TxRxSelect == TX_DIR) { + if (tx_rx_select == TX_DIR) { struct tx_ts_record *ts = (struct tx_ts_record *)ts_common_info; @@ -497,14 +497,14 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee, (ts->tx_admitted_ba_record.b_valid) ? (&ts->tx_admitted_ba_record) : (&ts->tx_pending_ba_record), - TxRxSelect, DELBA_REASON_END_BA); - } else if (TxRxSelect == RX_DIR) { + tx_rx_select, DELBA_REASON_END_BA); + } else if (tx_rx_select == RX_DIR) { struct rx_ts_record *ts = (struct rx_ts_record *)ts_common_info; if (rx_ts_delete_ba(ieee, ts)) rtllib_send_DELBA(ieee, ts_common_info->addr, &ts->rx_admitted_ba_record, - TxRxSelect, DELBA_REASON_END_BA); + tx_rx_select, DELBA_REASON_END_BA); } } diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index e9a193b5ab10..9903fe3f3c77 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -171,14 +171,14 @@ void rtllib_ts_init(struct rtllib_device *ieee) static struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ieee, u8 *addr, u8 TID, - enum tr_select TxRxSelect) + enum tr_select tx_rx_select) { u8 dir; bool search_dir[4] = {0}; struct list_head *psearch_list; struct ts_common_info *pRet = NULL; - if (TxRxSelect == TX_DIR) { + if (tx_rx_select == TX_DIR) { search_dir[DIR_UP] = true; search_dir[DIR_BI_DIR] = true; search_dir[DIR_DIRECT] = true; @@ -188,7 +188,7 @@ static struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ieee, search_dir[DIR_DIRECT] = true; } - if (TxRxSelect == TX_DIR) + if (tx_rx_select == TX_DIR) psearch_list = &ieee->Tx_TS_Admit_List; else psearch_list = &ieee->Rx_TS_Admit_List; @@ -225,7 +225,7 @@ static void MakeTSEntry(struct ts_common_info *ts_common_info, u8 *addr, } bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, - u8 *addr, u8 TID, enum tr_select TxRxSelect, bool bAddNewTs) + u8 *addr, u8 TID, enum tr_select tx_rx_select, bool bAddNewTs) { u8 UP = 0; struct qos_tsinfo tspec; @@ -265,7 +265,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, } } - *ppTS = SearchAdmitTRStream(ieee, addr, UP, TxRxSelect); + *ppTS = SearchAdmitTRStream(ieee, addr, UP, tx_rx_select); if (*ppTS) return true; @@ -274,21 +274,21 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, return false; } - pUnusedList = (TxRxSelect == TX_DIR) ? + pUnusedList = (tx_rx_select == TX_DIR) ? (&ieee->Tx_TS_Unused_List) : (&ieee->Rx_TS_Unused_List); - pAddmitList = (TxRxSelect == TX_DIR) ? + pAddmitList = (tx_rx_select == TX_DIR) ? (&ieee->Tx_TS_Admit_List) : (&ieee->Rx_TS_Admit_List); - Dir = ((TxRxSelect == TX_DIR) ? DIR_UP : DIR_DOWN); + Dir = ((tx_rx_select == TX_DIR) ? DIR_UP : DIR_DOWN); if (!list_empty(pUnusedList)) { (*ppTS) = list_entry(pUnusedList->next, struct ts_common_info, list); list_del_init(&(*ppTS)->list); - if (TxRxSelect == TX_DIR) { + if (tx_rx_select == TX_DIR) { struct tx_ts_record *tmp = container_of(*ppTS, struct tx_ts_record, @@ -321,11 +321,11 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, } static void RemoveTsEntry(struct rtllib_device *ieee, - struct ts_common_info *pTs, enum tr_select TxRxSelect) + struct ts_common_info *pTs, enum tr_select tx_rx_select) { - rtllib_ts_init_del_ba(ieee, pTs, TxRxSelect); + rtllib_ts_init_del_ba(ieee, pTs, tx_rx_select); - if (TxRxSelect == RX_DIR) { + if (tx_rx_select == RX_DIR) { struct rx_reorder_entry *pRxReorderEntry; struct rx_ts_record *ts = (struct rx_ts_record *)pTs; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index aa915d09bd63..05abc001507c 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1778,13 +1778,13 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *ts, u8 policy, u8 overwrite_pending); void rtllib_ts_init_del_ba(struct rtllib_device *ieee, struct ts_common_info *ts_common_info, - enum tr_select TxRxSelect); + enum tr_select tx_rx_select); void rtllib_ba_setup_timeout(struct timer_list *t); void rtllib_tx_ba_inact_timeout(struct timer_list *t); void rtllib_rx_ba_inact_timeout(struct timer_list *t); void rtllib_reset_ba_entry(struct ba_record *ba); bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *addr, - u8 TID, enum tr_select TxRxSelect, bool bAddNewTs); + u8 TID, enum tr_select tx_rx_select, bool bAddNewTs); void rtllib_ts_init(struct rtllib_device *ieee); void TsStartAddBaProcess(struct rtllib_device *ieee, struct tx_ts_record *pTxTS); From patchwork Mon Feb 26 03:59:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 206254 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1867782dyb; Sun, 25 Feb 2024 20:41:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXuiNtbHnYWHRcSjUMHlbWAp4ag2zsiW17xer/OLI3eIhmAGona3aWvbpFK2Lk19+gCYRc+Fj7HN+j4k1gGKnEAnAmbvA== X-Google-Smtp-Source: AGHT+IFBPeukmMfbFNuQS1FhS4KUM377YkwzZI+mt3BSO3hvdZ/1Ww9sC3NJi8B30ikIHPUi4zCE X-Received: by 2002:a05:6402:1742:b0:565:bb25:bb7a with SMTP id v2-20020a056402174200b00565bb25bb7amr2506472edx.24.1708922507404; Sun, 25 Feb 2024 20:41:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708922507; cv=pass; d=google.com; s=arc-20160816; b=nIChwVFa9KwswEo27YjEcU4KG7gEnoOqUSFN4dIn87hy2LanOQngrVnZYIbVyvLE28 u6xctN8mxXBOdrVUBhdvD+L7VZWfmJJd7y6Sfp6YUlf0qdkcoEBcPG8Qs8ClcSQkzVTr FUSwir5TJVPJSWj39z6dAis2nYDuzLdAQn0b3FLp/FMoh2cT6aKM/PR9guW9H476at2p RmH65iWb/X1XtkU2QHPlaTEpleru1J26NobBdfkkJzjdh3jAO8/3enfUXjRTVkzxGztr 2kdaBCXo3F57MFgjMMZz2LppaynZS5gQDF6+5lgXX49L/yKz9e3uoN/eQMIuTtKcb4wA uJ4Q== 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=drEptZxnwbPEaWM9Gew1sqUiaGk3zefYJ8jVoMExPx0=; fh=q15l/RwS+ZLwKOQkyf8F27TSHpqPVH56gtXmNN7o3+0=; b=yi35JwCn4yotVb8JSJTi9vTG6ncT0Cga2VdiZ5qG4jqdIa5+embhAGCCYQzNTFuEDg sjBJ0uW6OW282/04iNl8UVLT3dkHe4k3jbcnOUPCt2mvdgMA9YfuM0T11Jwiwz5YWdie 8Ld9of+0z44qWN8kruq0q9K+yYqm/oyQSNpoLNjPgA530072gm8t8BHggB2PpZzYi+7G Yyb3RFlGrRyK+NT+plBoIwTUNNuk1hlmeFUGoQbJ9IK797nMwiMcrPiXeKooNpuY1dcR Xi0sd4cl5Yc25AN0OVNN//xno91xxHYaD/oZRP1TvESrFbtyDE5vFNyPRF39yxIgXa3f s3TA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Y864EOVI; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80514-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80514-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y17-20020a50e611000000b00565d1449d04si1032813edm.438.2024.02.25.20.41.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:41:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80514-ouuuleilei=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=Y864EOVI; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80514-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80514-ouuuleilei=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 6CE5A1F26CF4 for ; Mon, 26 Feb 2024 04:05:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83CF44CB2B; Mon, 26 Feb 2024 03:59:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Y864EOVI" Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (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 4A5F91CFB2 for ; Mon, 26 Feb 2024 03:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919964; cv=none; b=NEpZsHBWUt5EudTAAaI43aPFNxN9lgjwgPKyHVHbo+wpxLwsa2BhpdgQGR81AkWFYLOyaeVEvY7PDeNjiBatZILBo0Y9xbJ1zkGqHcnWsG7IL1sDOVDxw6qfSyrFLI9gW+Mm8GP5/Mqp2SUXNbPrqEwWE2Os1cMHpfVX3Sa5Vpk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919964; c=relaxed/simple; bh=CUzAmkzeuNS+ardZO0IXvXaDVeR+7cwztnx1t8/HX94=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lBsngiqAo0Ot7XVUC/kSKIVYkAIZdV/kUk5XPJkCJAIHfhvEiOxuETIG8pQNDcttZ0ux0O7/VC7KXg/Yj/5pgBZ7Imwxl6pLDI3oFqqvbc502cBNZDbJA0Ha6oU5u4mLbfOeDtDY0Oq6suy0ratuVQbBjLJvtg6Qw1GfkjjkpRM= 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=Y864EOVI; arc=none smtp.client-ip=209.85.215.174 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-pg1-f174.google.com with SMTP id 41be03b00d2f7-5e4613f2b56so1365976a12.1 for ; Sun, 25 Feb 2024 19:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919962; x=1709524762; 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=drEptZxnwbPEaWM9Gew1sqUiaGk3zefYJ8jVoMExPx0=; b=Y864EOVIB6+n6K+aVdKvLjye43O3QDHWbexA8zcBvbEHOgiz03np6VUy84IzSzDFnu uaCPdLx12irtjmwgs8SeW22Ta/C6zRLWPcfHJxYJaoqVUZUs1ZWI9/BSx2bAHpi4YMua Z7yqlod/JzGBJLgcxXho0C9vP8pCCDGmdjWu+qRz1h6kLowWf3GnITPRlJAdphiRUE1B eFEBita854RUOWCLKIZq3aCb/4da/C2toMT51eataWy1BjczxVMc06BlImGz6cRjHk3V PUsahlZ3Jv+RxcsWDROUK63jOv71guHn/0pys/OzJ1Wt0KJElHSy/BXANRHgfYfrcziN 1OFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919962; x=1709524762; 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=drEptZxnwbPEaWM9Gew1sqUiaGk3zefYJ8jVoMExPx0=; b=fAZsiaTL0f7KRaTf6kdq9cPKPyI0aDDeYivfqHoY0C1uBbQlQZpM9HyBq91qT04ohl pveCZvhPMxRiEUwlrRTTpRMgEenGpLoumxFbGrS2klSBZbTH71bfatI7FPO3FJcdm1fe T69TKjzXgdM/m1Dp1hWWjtLCzCwE+b0IrISzuo90eZYXGPtV1p9hCIncRiwMV6N5MGw1 IlhJAOj3DMfJJ+OXks2H1Vu34iyCP1XzqGB2MdR26Vk92FIqNNRlKttBa1niGXzcIp7z jkcmzxy+ImdoP4dkH9ln+Wtovx4WSi3PT3oj+SGsrHuxe/QQJKar7KJ6BIp1MiBrLl4Z WQGw== X-Forwarded-Encrypted: i=1; AJvYcCXryZvCQDwQH+m9RvcHJEGBGImD8kAYov/9XM9Z2wQxtashEC1eZMz5uapYYnl6pnh3Gam5H2S2B9VlCjmc4K9K/XZ5tw3d1cUiazga X-Gm-Message-State: AOJu0YySOkcEeyxi0wqq0Ad1ZuweNrjTbPKiS4k264IHAWvMOHnN9ReA 8rl4npPQgFTREQ6Wrm+oZK0IuWuIazhRDJffQPsCRPqppSYmJgFQkco25H1xiTQs/8VymtTYxfQ P X-Received: by 2002:a05:6a21:1644:b0:1a1:3b8:8283 with SMTP id no4-20020a056a21164400b001a103b88283mr101250pzb.47.1708919962711; Sun, 25 Feb 2024 19:59:22 -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 iy13-20020a170903130d00b001da105d6a83sm2893426plb.224.2024.02.25.19.59.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:59:21 -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 3/8] Staging: rtl8192e: Rename function rtllib_send_ADDBAReq() Date: Sun, 25 Feb 2024 19:59:10 -0800 Message-Id: <20240226035915.370478-4-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035915.370478-1-tdavies@darkphysics.net> References: <20240226035915.370478-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791935127161423492 X-GMAIL-MSGID: 1791935127161423492 Rename function rtllib_send_ADDBAReq to rtllib_send_add_ba_req to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 030e0a87c931..1aa57f654b82 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -173,8 +173,8 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, return skb; } -static void rtllib_send_ADDBAReq(struct rtllib_device *ieee, u8 *dst, - struct ba_record *ba) +static void rtllib_send_add_ba_req(struct rtllib_device *ieee, u8 *dst, + struct ba_record *ba) { struct sk_buff *skb; @@ -481,7 +481,7 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *ts, activate_ba_entry(ba, BA_SETUP_TIMEOUT); - rtllib_send_ADDBAReq(ieee, ts->ts_common_info.addr, ba); + rtllib_send_add_ba_req(ieee, ts->ts_common_info.addr, ba); } void rtllib_ts_init_del_ba(struct rtllib_device *ieee, From patchwork Mon Feb 26 03:59:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 206219 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1858267dyb; Sun, 25 Feb 2024 20:07:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVm9byp+8gTySXFqi3YuP+3NPuO7VioNaPOTMZFHCDEYhdkNMZOr0WQjaKDxN5vPI/zLfJBWoU6YM2J5r/uXLnOELXfrg== X-Google-Smtp-Source: AGHT+IH/Uo9kTOqnO0BhkiNseonQ96ZmZhl9LBS8EnMIfy38ZWtvLQ8WFS+sh/St9sZaMjSPo3KX X-Received: by 2002:a0c:e113:0:b0:68f:44eb:b944 with SMTP id w19-20020a0ce113000000b0068f44ebb944mr6201012qvk.15.1708920422911; Sun, 25 Feb 2024 20:07:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708920422; cv=pass; d=google.com; s=arc-20160816; b=bt2iwPbMyNqM2mBuffP+gMYTNFT/AOC5W8U5kXDAwQjTWSGrR6+g7hxoPOfHBEhIIA wzXU3dBXxDiyiBtImrK4QiGtZAIxDwpgxiUwAxyEpBxpLfHjaSNO43CCT8mMKoHCZdiO FWrzEtrQTkvyKtWviDObo3J3JcBH2NNEfLZylBu9BgXFVPar+ofH5Hi/wXxMboq09ZZI ukIPVmI12du8V5dhM/4Gbu4Ql/crHMP5AsaKIyG0qNDxDrQR3UOQ24VQMYTm6Y1izcfz v27ljylpudf22HjbEMOZ8VwoLkbJ3X7rJ2DKQi6D5i0uMz4z2wCB1zFIN7VOwk6Anzme ErcQ== 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=GSSVxPrO4lCI0hg8jSsGiVWd0BRnv5gjYtDEYGTxDSc=; fh=tVB+oNa2G/KxE9Feut+K9MHFsXDAnt++SpZXjAu7qC8=; b=D9maChIHr7d1nfUsdXoqvJNyczgfd6oFGjBS3jWQUkdjaLAjGv9OtR/GCOyCmuPUWl PY0dXuccJMOrrGqARE3CoS3bfKTX1qYJqlxpsnYnElVbchgYXZAH9lW7fsTrFtZuxZWg xKV0JYeIKv1yP1I1+kfCXuXLnVWNJF/yibS2FABiEO5dv0fB0up1Nmsbs4hICxXa3RaZ mgJdgp9ECuI/F6pkoXufwejBOtATfi+JC8qjunHO4MXAA//5hYBoluT2r5FV92BzegIC fTUHw5V+/VNWF07jjg+ynTOy7mN9yk5tdBppdiiCLJ+IQkPtSGIacVJfIMygaYaEQCST TX9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=P5EhRsZV; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80515-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80515-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gg3-20020a056214252300b00690068798fbsi1803109qvb.578.2024.02.25.20.07.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:07:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80515-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=P5EhRsZV; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80515-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80515-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 563771C22481 for ; Mon, 26 Feb 2024 04:05:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 038A54DA0D; Mon, 26 Feb 2024 03:59:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="P5EhRsZV" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 918A02033E for ; Mon, 26 Feb 2024 03:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919965; cv=none; b=mX2430Zh4aTwnpM2NuYPahAUv6F3EK6ypLIvyPZCHrU+poNy3dkAKPgyYRVhuuvp6b9kH51aEsU230SgpUfLuGLC60dYzv4JCwGAK87NAlei77sZfeHMvWXwO51OR0p18/apYdTslS1fVRx5hgPHC1Nm/nAWY68v4gmhK18qigU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919965; c=relaxed/simple; bh=AiBuBvvwNpK/KQr77GSv+juzO6zdhF7q2Pdsy+hD1rU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Kh620WJOYZEZ7nSc10Pc8Klok9Lt5tIb9zGeXxabD4SfdqfDE4N2qjcTIBU1APFn6NNU7k29PpNZlONMDzWwkmumtts8MN+VqDx+I+I9Z8VLg2V90PB5ftim4mvgC6u5rkj60e84hHzjxpa2fnt9gewov9XacqP6Pc/7/xIm1KE= 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=P5EhRsZV; arc=none smtp.client-ip=209.85.214.169 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-f169.google.com with SMTP id d9443c01a7336-1d94b222a3aso27430955ad.2 for ; Sun, 25 Feb 2024 19:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919964; x=1709524764; 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=GSSVxPrO4lCI0hg8jSsGiVWd0BRnv5gjYtDEYGTxDSc=; b=P5EhRsZVWb8BV7EFW2wcWyS1mbSQnGSF57yEfhXH1NAcnvFl2Q434h27kAbd4Sr5wV g1NV4JdUhSFO3NTkRpDVM6XeYrelVeDBeK13KfbigNwIy8sxO3xYCY1osKeW3woAGVOd fmvdkY+okm3pcEyGgVztbfgxpQYwdGCFGETazvjse9JoAABoWWXVODTdJWtw+/lVsDJl WqMqjXkAPQXo1wNTW4VOwAsMtxLBJxQhsywNgsYHt7uJId3wA1IA5hOXeIHlqLJfkq9B bbmFdZIxiYiBRbqcC7I+j0rCmV1NQTr7op31uMFdbaj3KUHug6ag8rYW/WrEV8nMtbrX rHoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919964; x=1709524764; 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=GSSVxPrO4lCI0hg8jSsGiVWd0BRnv5gjYtDEYGTxDSc=; b=wKTTQGqo+GWOg/AyOSklgdPKcPb3Saiiw26gc7w6/klIfH12lJEicRHVWIAYS0O9To vqpGKf/kSdBjBdYeT2zyx2DJ0uh5aC+fJrWvtTvFYEZ4CphWfcbzn/YrBcsLMDIe2J5v j7Rp3n0HTX/yi+Uz+DdtsRcniP6mnuFhhB3Ws6D+xbWgmWELmmjymzeKGZUwgENscd39 IHeIoVW5oo01LMr7r2M+sUnlj8h/XXyZ5mZnVWLLO4Vqg7qOSQSpYjGvoy58xDk0PyuU KPzktNuqGM7ibPbkJjTX2+9beL4ZQDmtvNQg4AIxYOUCMRDFpiv9pdXQUEM3NYW6STbL YNVQ== X-Forwarded-Encrypted: i=1; AJvYcCW1cosaGFESpJvaJ3bV54OvzciEsgNcBcixt1LjQLpooyQPG3oQzCCKzhs+ySE6NgkW3nmUqEzLGFLEHEbLbkCCj09XoLVzNAzMIpEE X-Gm-Message-State: AOJu0YxIOg1wRtIducUCLN17bpiuPmRNvo/qHQaq/GRx6EofsdaMqdHG W8Y69RwT+YrwBxrhShKCHS91LWAZK2ewQB0jLBw78mM3eqZS2P6rmQ4xfs27KX8= X-Received: by 2002:a17:903:1212:b0:1d9:3bb5:2819 with SMTP id l18-20020a170903121200b001d93bb52819mr7600044plh.34.1708919963976; Sun, 25 Feb 2024 19:59:23 -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 iy13-20020a170903130d00b001da105d6a83sm2893426plb.224.2024.02.25.19.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:59:23 -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 4/8] Staging: rtl8192e: Rename function rtllib_send_ADDBARsp() Date: Sun, 25 Feb 2024 19:59:11 -0800 Message-Id: <20240226035915.370478-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035915.370478-1-tdavies@darkphysics.net> References: <20240226035915.370478-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791932941021133926 X-GMAIL-MSGID: 1791932941021133926 Rename function rtllib_send_ADDBARsp to rtllib_send_add_ba_rsp to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 1aa57f654b82..c0006daa75ec 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -186,8 +186,8 @@ static void rtllib_send_add_ba_req(struct rtllib_device *ieee, u8 *dst, netdev_dbg(ieee->dev, "Failed to generate ADDBAReq packet.\n"); } -static void rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst, - struct ba_record *ba, u16 status_code) +static void rtllib_send_add_ba_rsp(struct rtllib_device *ieee, u8 *dst, + struct ba_record *ba, u16 status_code) { struct sk_buff *skb; @@ -283,7 +283,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) ba->ba_param_set.field.buffer_size = 32; activate_ba_entry(ba, 0); - rtllib_send_ADDBARsp(ieee, dst, ba, ADDBA_STATUS_SUCCESS); + rtllib_send_add_ba_rsp(ieee, dst, ba, ADDBA_STATUS_SUCCESS); return 0; @@ -295,7 +295,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) BA.ba_timeout_value = *ba_timeout_value; BA.dialog_token = *dialog_token; BA.ba_param_set.field.ba_policy = BA_POLICY_IMMEDIATE; - rtllib_send_ADDBARsp(ieee, dst, &BA, rc); + rtllib_send_add_ba_rsp(ieee, dst, &BA, rc); return 0; } } From patchwork Mon Feb 26 03:59:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 206220 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1858292dyb; Sun, 25 Feb 2024 20:07:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXXiEdTbRixafeau6OZeCdp3dqFWQ7sduQDaKUpFACDeZ89heAB3ERvmCX/WXie8pNFYrJyfFqu0rM/iPh+Hgpsyo8E0w== X-Google-Smtp-Source: AGHT+IGoZtmMqvvlVMJ6TQQt6KxxOn0b/iUi4M1NI7RLc5vnCbBpTrEcCqu9RpUOo/kzIqb6Ibmw X-Received: by 2002:a05:620a:2291:b0:787:b854:873a with SMTP id o17-20020a05620a229100b00787b854873amr6648281qkh.53.1708920427691; Sun, 25 Feb 2024 20:07:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708920427; cv=pass; d=google.com; s=arc-20160816; b=UQ52EBMyAjzOP7wU0tyZH90dedQF4gCdzq6IpY9pdn+uKyxU4CmWj6RV59hGigXXZQ eMHhCaEaXzX3xdDWNIwca3/aaL6zQU1IfFOpVkf2y8DuUx/I1yqSf3kH2+iCq7LY8xWu aFINavheSQJ8O++kM3IOyl75JPu1A1HBztl5DOxlZpF+DAbQlGIYeeRUyTxmgrVPbqIf 7smLF7enkVQ/u1BwcRNw3Iv5y3C/wNbUC4vDe6ztq9Dgb2aVzyM/U2/AYrKK3tMjvgwh XKzPJOWvrLYz8OuRUgTH1lZsEaY9ogp2PBy8fpqEXitXTdwlcdfOe0XGgfI2SPfbSo94 cVrw== 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=pFPZDGKeKZyaOMKlGQ3oMS5Xrp30OXpLH+RSaWh7syU=; fh=hylc4Bm1cHx5wWorUkB/gLBuqUZs615fPiXCoY6Abk8=; b=liMVaSGT3uPXUY6I3sQZEdxwLeIDxyRo/Lqy6tJaC7bDHY02ON8qTJGjPuJP0EbVdl V4sOQtTR2FOAmpdki5vSarSXzCjmGAqWqyswfmaRv12XkTEAz8bJWk5L13cu/ZqtrrWR BH49eSp4XL8a6drZRAoNhs8+Tcyf0Ozlb280eNiPDCRltyvpbzJsFJxzlHRu1HSwdJkx 5wmARzx/q7BoqUH5vkVOmU6ma7A4EzW53VM7p1YkF07g2tE0AZkpffx1aaLrRv7Lt0Ah IJnzZfDHh46EaZiogZGzMDV6KODWIiz5i3V+iVIHYavdI7XwGUyCf5uw18jD3x23iQIb UJLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=DittovyS; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80516-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80516-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bl16-20020a05620a1a9000b007858c17df9dsi4691060qkb.226.2024.02.25.20.07.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:07:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80516-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=DittovyS; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80516-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80516-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 618781C23E2A for ; Mon, 26 Feb 2024 04:05:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93D094E1D5; Mon, 26 Feb 2024 03:59:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="DittovyS" Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 2D08E1CD3D for ; Mon, 26 Feb 2024 03:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919966; cv=none; b=ld6sF9Ua0l37kZurbGG8eJF2tUGZKyqgzVpD67i/5nJURSeQHOZdRJWabGJE7V7E2h/OjNnFiFmimKuqw9WVnJ3k1iaRlIaKYHqQwe10uRonyDCYjkdCN1yjQaC+U4ZmT/L4lV0uYpyOI0rYAf5xrtI5VbI+a9diN2oXaBfbedc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919966; c=relaxed/simple; bh=rn1uhe9kSvdRl3bR99SI2tz9xfp7AgAFtEZNJ3Cph+8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dVS0aKGj76o/WHzPs31aIADguc1ed3a4RV/YDOmnAVyyn+5RXZgmbXaEDw96BNRTjjLl0O4UNjgHZ2JxcXak3rsa7+PiJe3awcCR0UORibQcAEvCvrutgn+4VPJvG6rBLRY6xEIjS3XzuSjw4DJq2jR96wjufRceGy+Lq2Ta8Hs= 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=DittovyS; arc=none smtp.client-ip=209.85.214.182 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-f182.google.com with SMTP id d9443c01a7336-1d51ba18e1bso34688055ad.0 for ; Sun, 25 Feb 2024 19:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919964; x=1709524764; 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=pFPZDGKeKZyaOMKlGQ3oMS5Xrp30OXpLH+RSaWh7syU=; b=DittovySr1KvV4Mi3U7gE3ZL6NqqmLMG50EfsrkEPEU8ONFfD3SxnVdujEfPIUsSN2 /wfYtUrfalIaZrL7AeMUKFTpLn9cchR5hKerliaa3YBRm0GIrUFUIY9apts8aBg67UhC 0CyEnTwmgI+W6/Az0ZSIQKWze2ZGT8I0sTuxK2N4Mp1+exuSVToIo+lobCONofz7sep2 EqXq6di+c03qf9q3NJnHKu+2poasu6IxEnlBuaslbC5XbF7Osk+7DONXYzbtGRMn2EU4 D0fcXh3HBLTOv6e4F6fQp3CLHvVNfVxGa+wQmEtuwhCuSToIdPSVHmdy5bgMNfKR0vWU QtuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919964; x=1709524764; 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=pFPZDGKeKZyaOMKlGQ3oMS5Xrp30OXpLH+RSaWh7syU=; b=bvK1DUNn6ZyAPoxS+irM/SEwZjWm953KXp0+J0RZGbMWp6op15qRBaGSiAGtSIyDu9 WCyNbBp/XBXjz4IU88bNyVFV3h9ZUJIOb85gHtE/pPimbLpz7VUkQingFd0NCUTxfJ/O /Ms6JUavw+qcErkr9YghJ0LomI9OfRYNKPSM9gyzcTNu4VBmLPWkgT721IBGyYBLSrXH qqy6oNz+A51v4YPAw2JZM91EQLQU7v63LAYbpz50P+ZmZyz5V9ZG3sQ3BeynJ6xBvY3e K7E1zYwf3kCjNklLkSMVrc2EQxfUmqRJLJuyDU6salqkRbukHY6mpzA/effml9fTe7Ay 0drA== X-Forwarded-Encrypted: i=1; AJvYcCU3GoeNIwrndiSJryWNv7pFYlGNh4B8exR5QsLlAe+RQ2pTPxzsNCzealryMvs6d054L1QOzRyoQ9/qPkkH9dRx5bosqWeHCbkYRmRE X-Gm-Message-State: AOJu0YycpMKJiqMKxzNBlm0zjxTHF5nP27PP0sBrRHriwC/811qLJqdp hBCxZCxjPJyTXr1z0n9fkhIwZKB/iELaHrBpECl9crgu7V5b4xuZKX3t4LqA4go= X-Received: by 2002:a17:903:2450:b0:1db:bbe0:9e9 with SMTP id l16-20020a170903245000b001dbbbe009e9mr8731405pls.58.1708919964699; Sun, 25 Feb 2024 19:59:24 -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 iy13-20020a170903130d00b001da105d6a83sm2893426plb.224.2024.02.25.19.59.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:59: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 5/8] Staging: rtl8192e: Rename goto OnADDBAReq_Fail Date: Sun, 25 Feb 2024 19:59:12 -0800 Message-Id: <20240226035915.370478-6-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035915.370478-1-tdavies@darkphysics.net> References: <20240226035915.370478-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791932946233317539 X-GMAIL-MSGID: 1791932946233317539 Rename goto OnADDBAReq_Fail -> on_add_ba_req_fail to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index c0006daa75ec..a3a2fe72d644 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -251,13 +251,13 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) "Failed to reply on ADDBA_REQ as some capability is not ready(%d, %d)\n", ieee->current_network.qos_data.active, ieee->ht_info->current_ht_support); - goto OnADDBAReq_Fail; + goto on_add_ba_req_fail; } if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst, (u8)(ba_param_set->field.tid), RX_DIR, true)) { rc = ADDBA_STATUS_REFUSED; netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__); - goto OnADDBAReq_Fail; + goto on_add_ba_req_fail; } ba = &ts->rx_admitted_ba_record; @@ -265,7 +265,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) rc = ADDBA_STATUS_INVALID_PARAM; netdev_warn(ieee->dev, "%s(): BA Policy is not correct\n", __func__); - goto OnADDBAReq_Fail; + goto on_add_ba_req_fail; } rtllib_FlushRxTsPendingPkts(ieee, ts); @@ -287,7 +287,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) return 0; -OnADDBAReq_Fail: +on_add_ba_req_fail: { struct ba_record BA; From patchwork Mon Feb 26 03:59:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 206216 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1858214dyb; Sun, 25 Feb 2024 20:06:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVAhnKz214/t6UNJla3u+n/ZaiU7qtYW0CnlvSbYncwuxuMACSXZxEi0/79y7PGJ4wnosSn7nbYstjFbGZFId2PFe5ZpQ== X-Google-Smtp-Source: AGHT+IFA5fm51KZBzxYoaiNM0V9Lk13ryFqIAWN9uW8UH7NZccZfiWNS+84mdUyW295wB1Ctbran X-Received: by 2002:a17:902:db04:b0:1dc:65ee:38d1 with SMTP id m4-20020a170902db0400b001dc65ee38d1mr6852426plx.49.1708920411053; Sun, 25 Feb 2024 20:06:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708920411; cv=pass; d=google.com; s=arc-20160816; b=olI9v8MqvJ+VrJd7cNFh1cPkdi6iVZoSSwFL+EDvgXksyZJRhUjQ6Q6kFkWOhJeMWF RqXsBJeGXR3iAjP2mIiGgPvqVwAtAcUOdLyMVPbkEC8bcm9ey6hxVHs4elH3uQ8QxKrE 2nUdrkf+IQxkwZzhb52PhRCP8nYTPBfz4MaNVQp8yTQ1As62nacpvBqa1DM06zgb+zo0 y4bob5u1RkvwYQLSa4FHbzgp5iL7l1dQ7tEI1z69BVixhHPuQDBVXl/1lVpexawzfwsW cWwWSrAPu3qYs3yNo9p30qXc93rlUPZZBHlT7mJ1fTCo7w44Ga7FLor76ovvLp4MDmHp /1Pg== 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=EiLiFMfWKCcVhhDB/j6NQ7MKUt9nWfWJUvYg2/4dEk0=; fh=7P2lSBufRICKN//GdihELudbwLEnNl48ImbvbVz48wo=; b=0b3I5/bYzRl0H5+kFGo69p3vBPaP3f/2KZFxIC1xVBbcyUepQ8kcNTgt1lk0EdEdZO xgE0sS9i95r8J0epZ3l3+zvTUiKwbGSDpHKucs+ZoBHcNzV/f6bF2ozG67gIXttQnJBc yfmUpuAM9Yr/RD3lopm+80sIfQj4jZ8s61iMYChaXfOpRt2uyiILFWKOz2e/lcpCByuW d65djmsGBfKmYSyfXX6KQWq+MNQCM1z8CkjAFKDtdNch6psmcuVeAOLSUHIxZn/OSoa4 J3CmZBo8lov6fUaeE2Cu7zwHx2gPae/x6Ricspwm9zyWXrGXfTVx5fxo95JRr0nKf11L porw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=CYkNyqoM; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80517-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80517-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h18-20020a170902f71200b001d9f4d7b31esi2946627plo.508.2024.02.25.20.06.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:06:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80517-ouuuleilei=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=CYkNyqoM; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80517-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80517-ouuuleilei=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 EB317282B24 for ; Mon, 26 Feb 2024 04:05:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 687464EB47; Mon, 26 Feb 2024 03:59:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="CYkNyqoM" Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 DC99045034 for ; Mon, 26 Feb 2024 03:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919967; cv=none; b=WMvgWVAbC8BNclgSjkOxEugNOiyW9alOwfPlaeD1jn5PlVxJqdJEIi8T1odThM7kH7lmkhSlebjitwtuWdsa/SAfB8Gposd9pQC4Mqg6Rhs59svxTd4MEGU1KRQrffVK9O7wO++G+iDhgm6i9sAntIBpJAK4/2pK0SgzjugB7r4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919967; c=relaxed/simple; bh=aL+J9YpPCTXZjblY7lvooQHdP2S0Wbtur0yP78NWTF0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=D9G+BJeFpCRKkMs2ITT1OAUlMT+6Atk3bdeq0NtViiKAjH6ikZ3z3vvgNBFZ87uB5rgsAQk6v8b6EmKaXU+Vau6HCrx9ldg/lVvlCVj9ofx6izc7uCZhUeaxR2NhkbkgTpBsRRTkhdXr6IALlbaDVGeu9oSzVyCr+DdQzvltGs4= 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=CYkNyqoM; arc=none smtp.client-ip=209.85.214.182 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-f182.google.com with SMTP id d9443c01a7336-1dc75972f25so19768045ad.1 for ; Sun, 25 Feb 2024 19:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919965; x=1709524765; 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=EiLiFMfWKCcVhhDB/j6NQ7MKUt9nWfWJUvYg2/4dEk0=; b=CYkNyqoMtedV2f4XjNHHb7mF/vUtz1xAKRENAzEPGq+Ij8C/3dAH0mCtlsO8XXwDut /5OO415elDYFLgup08PiCPwAvwxCWKrlsKBckdInZnKN7QKH2VBJ/qQMtvz1hmlbtTAa wM6tv3n0FWwxp9RbGuOFM6xRoh816QNquMOTJP4Es2zw55ODQdxk92ZX8qsddy78w5n/ Ftln9WARkHCLoSIcaiZheT5xUo79MXE+fMOhMXSwjIzo4yY42ln73KXYf/5pi0h7GHOW H3QebflN66RRhI3mC+yfx+b7pbkLdzXJFG2ngRpbMcntcAqH5D3DvFZlhcf6/Np/WDUx +RuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919965; x=1709524765; 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=EiLiFMfWKCcVhhDB/j6NQ7MKUt9nWfWJUvYg2/4dEk0=; b=nm3c1PeGw4JJ2/c2o7+GpV/tkE672CMA3btDbh6Y+G39Afrz9F2COKawb27DVmLdaf juZFAN3MRq+OvzosbYmKzPXlOuAkMKZPzUCo5PiAz38F8Yggrxbo0CdTWrMcOCTyPuNc zOTBWbCT5e3QkPZXyCG4Q997SdbQxcmJ+9g5ujPaWjCV1fJRzv3MBRXxzIhhXlBRCzb7 E9Fpm+BeoOcw2NHw4ffp1tcqouXL8NvcjOhvaxFbm+RXfhFjXSwabi3FSiY0fVGEgq2S bNG/yJNe4caHT60un9eUgwHf+UcLn3+5TUEYurSuy5Fa5Lt28amFRe+1N6ag0t8diPLt fXEQ== X-Forwarded-Encrypted: i=1; AJvYcCWt6QrvdJklvH5GzGQOjHjk5wC7z7mDeEFDCrZRXRMVJZCte+61Onp7078Tx+2Qkmh9XpazubVEErRsVuX4FpynoS+ceZq2YhmuhaTH X-Gm-Message-State: AOJu0Yy5T9T8QEXJUem2L9GGNQb5EKe2wXHMGlylEFU8P9GBh4TTscrb kSMvKDKHclN1XRcOIcCykgmtPuJLnDxFWe7+xXEZ65KPEI4rKk3l17l59QMPJnLdrPN7eBRW1Fu U X-Received: by 2002:a17:902:e842:b0:1dc:78bc:ad0a with SMTP id t2-20020a170902e84200b001dc78bcad0amr7007029plg.36.1708919965391; Sun, 25 Feb 2024 19:59: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 iy13-20020a170903130d00b001da105d6a83sm2893426plb.224.2024.02.25.19.59.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:59:25 -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 6/8] Staging: rtl8192e: Rename goto OnADDBARsp_Reject Date: Sun, 25 Feb 2024 19:59:13 -0800 Message-Id: <20240226035915.370478-7-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035915.370478-1-tdavies@darkphysics.net> References: <20240226035915.370478-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791932928890824130 X-GMAIL-MSGID: 1791932928890824130 Rename goto OnADDBARsp_Reject -> on_add_ba_rsp_reject to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index a3a2fe72d644..0581ed1e9ed1 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -334,14 +334,14 @@ int rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb) ieee->ht_info->current_ht_support, ieee->ht_info->current_ampdu_enable); reason_code = DELBA_REASON_UNKNOWN_BA; - goto OnADDBARsp_Reject; + goto on_add_ba_rsp_reject; } if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst, (u8)(ba_param_set->field.tid), TX_DIR, false)) { netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__); reason_code = DELBA_REASON_UNKNOWN_BA; - goto OnADDBARsp_Reject; + goto on_add_ba_rsp_reject; } ts->add_ba_req_in_progress = false; @@ -358,7 +358,7 @@ int rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb) "%s(): ADDBA Rsp. BA invalid, DELBA!\n", __func__); reason_code = DELBA_REASON_UNKNOWN_BA; - goto OnADDBARsp_Reject; + goto on_add_ba_rsp_reject; } else { netdev_dbg(ieee->dev, "%s(): Recv ADDBA Rsp. BA is admitted! Status code:%X\n", @@ -371,7 +371,7 @@ int rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb) ts->add_ba_req_delayed = true; deactivate_ba_entry(ieee, admitted_ba); reason_code = DELBA_REASON_END_BA; - goto OnADDBARsp_Reject; + goto on_add_ba_rsp_reject; } admitted_ba->dialog_token = *dialog_token; @@ -384,12 +384,12 @@ int rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb) ts->add_ba_req_delayed = true; ts->disable_add_ba = true; reason_code = DELBA_REASON_END_BA; - goto OnADDBARsp_Reject; + goto on_add_ba_rsp_reject; } return 0; -OnADDBARsp_Reject: +on_add_ba_rsp_reject: { struct ba_record BA; From patchwork Mon Feb 26 03:59:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 206221 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1858345dyb; Sun, 25 Feb 2024 20:07:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVRYf7S6PSkl5Q81GgOER39QJoD+J7Qowarr9L9COHvjcwIIJrs4sE+g6A6J8khq1glQjA94GxixM4ipvaN1jEBp8KH6A== X-Google-Smtp-Source: AGHT+IEKwdm0kQxbV44d3EF/rjhaB9VBPf9M2TRNLCjffwpWBEdS1O+iAPADMOyYM7P9+azf6kBM X-Received: by 2002:ac8:7d50:0:b0:42e:7f5e:b645 with SMTP id h16-20020ac87d50000000b0042e7f5eb645mr3202071qtb.7.1708920439658; Sun, 25 Feb 2024 20:07:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708920439; cv=pass; d=google.com; s=arc-20160816; b=l5AjUFX1LY7f7Ip/Kw+XOlvh1MUgoxK0kWp1eFGRUex/C+IC/ijjsdpnMOuc3gftgi 4H1VgPDvaYvJEh5uP8cmqLSI7rfOoh1ZR14W+Tl3+Ymbvm+ZTF1rkwgCFTOuBY6pCM34 FTE9Xxi/e8rQ5lLac1lHVkH06zZCavmNQ8I7vhRAQCtUNV6jDTxTAP4wePnJaU/m0Cwi a3B6s6AyY7jgg1ru69uiI5vNI4s2/DEQZa3VERJNaCddRqLCmlFsR12IVBtVq5DwGhvc Fe2hwSiFM7DsxKfeBIuiGYPLk8T5IB2EYFloc3cdaDXfsP5grajiPRU34gnKywqbIoh1 Ve8w== 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=dWpbo37RpiaoOqXUf66a114Vy7k4lyCvrRXvqAK4Zg4=; fh=kQw5MRR5Nd1EmUCfAU6H7evrerRczNV7BS4Z2XFF89c=; b=X0kqZoCY+XzNK97VYPNvomwQFxS67nNPHYe5VlYfjSUgKAvaOKsQs+z0oUljRMvWUO z7VSoWR+fCtDhIp6yS0Ro3dG0k+rtPbbQu+zwz8iUFcE9YW7yHWLuVuxeBAzxBCON6Wl PAFLl/IZfjQIMzht7yGCzXHOl/6u+TgZcdfBrPJgjRaQD64D7C3gBG5KVVA813KrFVjs lIGmwX8Iz1/ZhsWr5deI2umMHFFDc7290Mw+rxVQK9veZ+lj3Ct/af0bn9caajoj/BNj 1hnyJ3m+lAWfFZM/Wnh7Js7Ig9xH68ddAP3i9DwzPqAUbFHiAacjCXapAwkDZDaPIY4Y Ef3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=D6EivWcS; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80518-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80518-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f4-20020ac84984000000b0042c5ff0e29asi4117203qtq.740.2024.02.25.20.07.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:07:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80518-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=D6EivWcS; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80518-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80518-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9B2B31C24185 for ; Mon, 26 Feb 2024 04:05:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D1BE4F213; Mon, 26 Feb 2024 03:59:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="D6EivWcS" Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 0EBD94A99C for ; Mon, 26 Feb 2024 03:59:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919968; cv=none; b=dvkhR6xsTZX1Ul+R3UrXbH9CDNmebd+tN6SltUnhFFB8NE/Iv8I8l4dkL8hwYn3K1bfTexOjqKCGzL/2IxpClrWKExDj1cbN//+r+D7Ik8UjARlBkqc3NMcn6AuwAqZS5DFc6vXR+YkGPFpUfeHF0BxoyDoTGJ8mTphACxax5Po= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919968; c=relaxed/simple; bh=YCeunnsu5ZMYeBtB47AcnaouRPKXI3Zjqo2gxMsyYT0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cmCVVMyuubjt1hKno4yRUIcu6BBPyXR1vYUluomNNCOyEhJ0Eg1oHRUwz62nYJP/mHiwl47vRbCi2bGhoOkk7zmLjTo28uDa64tRmDJBGzCSZYmjU0gS2VVRnW48DXuKeNqv2NcyzZfC0rSIFTU/4LHnxcYl8IEsrk3G3XtyYPQ= 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=D6EivWcS; arc=none smtp.client-ip=209.85.214.180 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-f180.google.com with SMTP id d9443c01a7336-1d911c2103aso11055505ad.0 for ; Sun, 25 Feb 2024 19:59:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919966; x=1709524766; 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=dWpbo37RpiaoOqXUf66a114Vy7k4lyCvrRXvqAK4Zg4=; b=D6EivWcS4+3gCo8yYQ64IKt8nzFQemDE5xN/633vb+lArmNOXkq5yFyZYbGWpD2AV2 BiDcGoM04ykefENl9IdXVVIHGHSANIh/QITJP7qU/Uz7TLd03/pzC5zo2/61yxVoognd zdXPv9pdpPKs/2kqSMPQpqcCNadICW+Sko79LWA0WFzqWv2z+Tfx8WD5+lnWe66L0aIW 4C5iEqxkmB/WoNqz1FmGtjfLHgdyLPbaZBOtelg7E1bRYf9LfoSItDr7G7cLXJQobCeh X0lao6iQ0aoCyhPmjBYwYdPIswW2y4yStb7C54P8QgcTs69G5gzfAjAYlPdCM4aWrsuG B/8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919966; x=1709524766; 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=dWpbo37RpiaoOqXUf66a114Vy7k4lyCvrRXvqAK4Zg4=; b=i1J18io+RUidbRQiD1Ezj7BEbgaG6wxctRlfpVRv/9C6lX9zCDrxNqoLSvwiew1foF gV3AnSX1imbVhwgYzW3MkDD3U/auBvrEHp/AecW3pPaCgjAs0TYhW0KzPRAZYq/nO7fi tIyNO6qoy1SsYUt3yWvZ5W1v1oa8M5Gyp9sJTnOO6WiEzYVbENEDd63F55C4+fRdk2oz qbrIFs75vpnR0aS8Y8f3Xz8dH30xT+oS3ZUAaKvwEofBMKrRq5ib2lQ2TsnngXHXlm6f vHsu9sFufxxHkGoDp43fK4n6BTuof/FtrR4cMpgqiUz7EJO7WHJQG+tBGnXsDpWJxsqy CXIg== X-Forwarded-Encrypted: i=1; AJvYcCXXC5C76DtLNO4O3f52Jc7rpFqe2Pbki3O2wL/qpwNUn6lnJmPPDnk/OYxtEeRtvgIjK7a3bka6uSfytWC7dgSuNnrOcEIRmjBMAVNi X-Gm-Message-State: AOJu0Yzegtldku+5Z780wqUIYWIxna+sKd0eNElL+zCm+Nhu1WVut4ml EpTLp77bd/GbAr60TBRTP9W/lUNoZW76qQoG9uL/joDHue2yPrZ0xwpWJ/tstwHEWJWEgjM58Er + X-Received: by 2002:a17:902:f545:b0:1dc:696d:6bb0 with SMTP id h5-20020a170902f54500b001dc696d6bb0mr7048782plf.6.1708919966520; Sun, 25 Feb 2024 19:59:26 -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 iy13-20020a170903130d00b001da105d6a83sm2893426plb.224.2024.02.25.19.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:59:25 -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 7/8] Staging: rtl8192e: Rename function rtllib_FlushRxTsPendingPkts() Date: Sun, 25 Feb 2024 19:59:14 -0800 Message-Id: <20240226035915.370478-8-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035915.370478-1-tdavies@darkphysics.net> References: <20240226035915.370478-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791932958914280282 X-GMAIL-MSGID: 1791932958914280282 Rename function rtllib_FlushRxTsPendingPkts -> rtllib_flush_rx_ts_pending_pkts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 0581ed1e9ed1..04f3fb54d1b7 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -268,7 +268,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) goto on_add_ba_req_fail; } - rtllib_FlushRxTsPendingPkts(ieee, ts); + rtllib_flush_rx_ts_pending_pkts(ieee, ts); deactivate_ba_entry(ieee, ba); ba->dialog_token = *dialog_token; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 05abc001507c..fe850dbeaa02 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1810,7 +1810,7 @@ bool rtllib_mgnt_disconnect(struct rtllib_device *rtllib, u8 rsn); /* For the function is more related to hardware setting, it's better to use the * ieee handler to refer to it. */ -void rtllib_FlushRxTsPendingPkts(struct rtllib_device *ieee, +void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee, struct rx_ts_record *ts); int rtllib_parse_info_param(struct rtllib_device *ieee, struct rtllib_info_element *info_element, diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 051371e0138c..be0f92e97d12 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -487,7 +487,7 @@ void rtllib_indicate_packets(struct rtllib_device *ieee, } } -void rtllib_FlushRxTsPendingPkts(struct rtllib_device *ieee, +void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee, struct rx_ts_record *ts) { struct rx_reorder_entry *pRxReorderEntry; From patchwork Mon Feb 26 03:59:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 206238 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1862196dyb; Sun, 25 Feb 2024 20:20:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWOjYLPcA9sJt1D1R6A1c8ylVTbDYHwBojv5srIHTxW0nfDXY/c/8NLkmV+piUJOkTY6Q1g2tqxkGZeeYExZ4iSP6N3rA== X-Google-Smtp-Source: AGHT+IFBRpGU55H/PsffVKEb5PEjWww5uKj8V9n+MhPqdMl3phYyyFCeE0taG8Mb6kITSmZvz73Z X-Received: by 2002:a17:903:2348:b0:1dc:4a9a:aefb with SMTP id c8-20020a170903234800b001dc4a9aaefbmr8457533plh.30.1708921238071; Sun, 25 Feb 2024 20:20:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708921238; cv=pass; d=google.com; s=arc-20160816; b=a85EQBxmt2U9F9c6IW+VUYIOC9i+56OBsUwF+zYBDqwgjf527U7o1xJWpRmy50ROKS QFevGJYv8FuWj31XJawIg+3sn1iLESDZOxum8cPyZziB2ROXeJXWIM4DPlgYz+Bnm54v EDl66dzpogGnHWOPaVYaKdB1f4gqNyFIHHHcy7FTyBlcP9cQzk8pPweg95VZSbJXxoYp lxf9h5AeFu1YmhJ53sYOFOWrbePk7SmuxyPIioP7QjLBMmngRKCmGALJxER/cCd4ywti zSwHRoZLNCFJfu/xcIGkGjfPR7M5ercYmN80MuVf6dJzrCLYp7s/P20IhdISaz+FZtNv gdbg== 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=V637UI8jqLYaoLt6Jphn/pSof6w0WRdDGgG+CHcmXrE=; fh=LRgH765KX6DUCVGSXhEOGo/PI5c+my9bXq+w/bGlhKU=; b=Jdhz8aUnfiOLw/08GxUL92CbZj8tE0zEgzK5CGNyyj5Js/41lQfJKikFHAObwiG7WZ N2KOjQ1Oli9pZhWbGdfum8GaLHTWR33qOg/lqfb8hVI8NEz8T8m998hfsxh3j+0B3nKU 0nwyewx/WMZ3RU8QipPW1GzGfUmo9o6IhjpJGoJgWLaM9q/lahk6JlPRDQbB2dUD3KW1 u3iEuQGk4o/RB/172LKxO7yqVkVR3A/hioEsl7fO4SFBY21lhnii3CzFTWi/+1Vf3ACf qFNZXEs3I5vylvricmhqjDSO+hyHQlUFFYSSoooFrKm/c2P8tVd91bYoeaexmpXS2hix SRdw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=EqvS1p03; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80519-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80519-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ma4-20020a170903094400b001dc64999b6dsi3044355plb.48.2024.02.25.20.20.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:20:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80519-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=EqvS1p03; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80519-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80519-ouuuleilei=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 872BAB24385 for ; Mon, 26 Feb 2024 04:06:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98A2E4F5FE; Mon, 26 Feb 2024 03:59:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="EqvS1p03" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 CE75D4D107 for ; Mon, 26 Feb 2024 03:59:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919969; cv=none; b=T5D9hkL0sgMki9gTbs7kKNuwCJe8cZ4jdrdjjph69NWQ5BRnWYNTz3nRpioXJiviCXSqtT05O1S/BnR/nRJq/FNgJc+sxHDzAWEBTRbHJFT+iTfGFNNVpghpZn379xoUdTVuo0XXWndGDXgnH9UNR5UhKpc97P5e2JoPQnO4a0c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919969; c=relaxed/simple; bh=Hb2gzq4riFTqoohaJYo7tJV4g6poU6GnyQ7xdS4Myh8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Usd2pWu+uOl6s7DIGq41JCWvG6ylZiO6nOq4z8aGDGf+8M2IejHam1GSqG8z6HrH5p6ePFybTCr6X0z1w5RBd3dcX+pG3BaUwyyyfXrWA5J+lcsb8DwOgsDk/4EssqLtES292Plssr8GEKn7G3RWlwXiPJTQRcuYikgoj+ZIgp4= 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=EqvS1p03; arc=none smtp.client-ip=209.85.214.175 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-f175.google.com with SMTP id d9443c01a7336-1d7881b1843so20428725ad.3 for ; Sun, 25 Feb 2024 19:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919967; x=1709524767; 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=V637UI8jqLYaoLt6Jphn/pSof6w0WRdDGgG+CHcmXrE=; b=EqvS1p031+4jtFJeWIl66QeqDR11YRjGxTThKXEOen5d7Ur1D/YVTbvPmR8RcdJk1S 1+wGvhutNhqwLPYoyKO0wF+d6l7j4/QqbAGkei9kdkGfuS2nLKqb/0ONvE8wsEeJmtMI 9pdEhrcKRXcUgsv4RIXbX8r1O2IUsU9CrjEqL8tZlMylnA6ajk/5wW6yBhjFyNB1wR1p o0r1ZuIfj/iNcfF7f5O4y7Uim0LlcCTPL2QDDemW70catnip3AaUzLuX4I/naTmJ24jF eQFPZsuW98T8rZ1/sZgmhEfOU/dhjt5uZ3enIm1GxJhWhaVPRm2BO4P51JF4j0jii7/0 Edpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919967; x=1709524767; 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=V637UI8jqLYaoLt6Jphn/pSof6w0WRdDGgG+CHcmXrE=; b=qvEWqWug3FZFwVkjuSQ+qlm1jj2BSdMaQWTsQ7W8wrwq1TBQqz4Bu54GdCJ2uYXNf7 yu5qGv5ZfPgUUsXE5r0Ts+pRaUHbgcLLwtxQZ/vzzx/XlC518uGq+TW4qOlB9kmq7lal M/OISeKyS6KbODNRGmtucNGV2c91T5wBh/nXAk71wr4+cp2TBk7zfK8hPLOC31qhx4KU GFVn9+6RqxT+/SeEXVY/eb7IzrlkNEsyrvrfdzBb/4JEsmj3hbqU+vMidaSTxWBUOmGh xoyA8K3slRofHoEOu51QooP5TIFRo8l7O7xQPncjzb84uJC3fREECVT0Ii4rLVWwRlYI sQ8w== X-Forwarded-Encrypted: i=1; AJvYcCWEwaaa6iz35QgeaseNqkCm5gvUjDALj9lCB57vFgmzy7FKonwwJ1e5bc5tPsn9TP217h3xvoI57ITPiTbJHElnK2aDkzuh1+2XESDq X-Gm-Message-State: AOJu0YxdwJnOEFexF4zYZClRPxROt6+0TqYsmLZwzntEBsI0x0zbbctA WqGWXjnVoxLtBIexcfIC+tlwf2mYxUDedaUhaigbWF3qPpnpCAKVZjmY5spxObg= X-Received: by 2002:a17:902:b60d:b0:1db:c71a:5693 with SMTP id b13-20020a170902b60d00b001dbc71a5693mr6408992pls.26.1708919967275; Sun, 25 Feb 2024 19:59:27 -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 iy13-20020a170903130d00b001da105d6a83sm2893426plb.224.2024.02.25.19.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:59:26 -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 8/8] Staging: rtl8192e: Rename function GetHalfNmodeSupportByAPsHandler() Date: Sun, 25 Feb 2024 19:59:15 -0800 Message-Id: <20240226035915.370478-9-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035915.370478-1-tdavies@darkphysics.net> References: <20240226035915.370478-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791933796309899617 X-GMAIL-MSGID: 1791933796309899617 Rename function GetHalfNmodeSupportByAPsHandler to get_half_nmode_support_by_aps_handler to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 ++++---- drivers/staging/rtl8192e/rtllib.h | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index fc5014f719d7..50a4e1cb8c79 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -657,7 +657,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev) priv->rtllib->ps_is_queue_empty = _rtl92e_is_tx_queue_empty; priv->rtllib->get_nmode_support_by_sec_cfg = rtl92e_get_nmode_support_by_sec; - priv->rtllib->GetHalfNmodeSupportByAPsHandler = + priv->rtllib->get_half_nmode_support_by_aps_handler = rtl92e_is_halfn_supported_by_ap; priv->rtllib->set_hw_reg_handler = rtl92e_set_reg; diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 57e1a361a7c9..047da39f730e 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -354,7 +354,7 @@ static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev) } } - if (priv->rtllib->GetHalfNmodeSupportByAPsHandler(dev)) + if (priv->rtllib->get_half_nmode_support_by_aps_handler(dev)) target_ratr &= 0xf00fffff; current_ratr = rtl92e_readl(dev, RATR0); diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 04f3fb54d1b7..834329886ea2 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -276,7 +276,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) ba->ba_timeout_value = *ba_timeout_value; ba->ba_start_seq_ctrl = *ba_start_seq_ctrl; - if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) || + if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev) || (ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) ba->ba_param_set.field.buffer_size = 1; else diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index abc21ae49ff7..fa96a2c2c916 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -252,7 +252,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, } cap_ele->AdvCoding = 0; - if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) + if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev)) cap_ele->ChlWidth = 0; else cap_ele->ChlWidth = 1; @@ -301,7 +301,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, if (ht->iot_action & HT_IOT_ACT_DISABLE_RX_40MHZ_SHORT_GI) cap_ele->ShortGI40Mhz = 0; - if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) { + if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev)) { cap_ele->ChlWidth = 0; cap_ele->MCS[1] = 0; } @@ -408,7 +408,7 @@ static u8 ht_filter_mcs_rate(struct rtllib_device *ieee, u8 *pSupportMCS, ht_pick_mcs_rate(ieee, pOperateMCS); - if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) + if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev)) pOperateMCS[1] = 0; for (i = 2; i <= 15; i++) @@ -666,7 +666,7 @@ void ht_set_connect_bw_mode(struct rtllib_device *ieee, { struct rt_hi_throughput *ht_info = ieee->ht_info; - if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) + if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev)) bandwidth = HT_CHANNEL_WIDTH_20; if (ht_info->sw_bw_in_progress) { diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index fe850dbeaa02..38ae9d1b24c1 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1486,7 +1486,7 @@ struct rtllib_device { enum ht_extchnl_offset Offset); bool (*get_nmode_support_by_sec_cfg)(struct net_device *dev); void (*set_wireless_mode)(struct net_device *dev, u8 wireless_mode); - bool (*GetHalfNmodeSupportByAPsHandler)(struct net_device *dev); + bool (*get_half_nmode_support_by_aps_handler)(struct net_device *dev); u8 (*rtllib_ap_sec_type)(struct rtllib_device *ieee); void (*init_gain_handler)(struct net_device *dev, u8 Operation); void (*ScanOperationBackupHandler)(struct net_device *dev,