From patchwork Thu Feb 29 02:43:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 208175 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp138803dyb; Wed, 28 Feb 2024 18:45:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU7kjAsDYnKTA5RcC67zEmtQ+RYT9jyLydKofJv9/GJvRe5IZUSAvPdITJD40fM0qrf5V+31QDdkUWLjMYiu+/8NgdTyQ== X-Google-Smtp-Source: AGHT+IE5++32Ws7wtQwHvV7Pb8wlZqnSlxvzsAbv+3j/vG/G6Zt9DUMOWzpkMkyQhReUD/k4yZn1 X-Received: by 2002:a05:6402:8c8:b0:565:9ac6:a9e5 with SMTP id d8-20020a05640208c800b005659ac6a9e5mr443835edz.21.1709174705386; Wed, 28 Feb 2024 18:45:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709174705; cv=pass; d=google.com; s=arc-20160816; b=Ec6cnUSOnXmq+qAVZP2fT8s+iAcDl3h4frvd3zRGXqD3rtvizf6G5XkEGHJZdYqSo6 3YPeGBv6gC+7w3HbUUgPojYck4JPPPJ5md/1EQB8DBw3hW6OmLj/xPxhFP0LK3KHSreI 2cV0fctQiJdd6f68ynsEO9OAqBQebOwoaOds+Jdq+f5N1qpkClOyLkoYbbTvP6mJIMRL dQAW503hMAlOuCLqzHt47RDa8xD1uunRUswk/s0cwIvuLLnqQRD1rBZIVfazNhc0A+Xu VPwpQpKa1uFg9CHTcVlm0EG6PHtuMcPMmVSZZFcAyZjnLCJP9gj2RBihq+tQQqteQoEo BNAA== 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=1SNh7/XczwlcyfoaJTDElDItVS6jS2b6ony9kQsRUro=; fh=mZ0K+r4m4wKaE6uoSmPBQQu+c2aqqxjd34DU3+r1G5s=; b=GH978VqILYQ89OyBRzdIZaMuXqEzg6blZP1WYRXA8i8oFNiDtbjLRon363yiWM8YfP PLJ9qwaVseYQzhM2QdpUrjinouXxyIm/LrAQENZluUH2zZAqs+9Nj1m89T7X6Oipqfem 1pjte+A8euYnUOmbS+8bsDLu9OxoCkcvvQIeNkyCrxhrhB3suYcp3yj+BRCwDEjOMozg ySiMKMrEb6JrX2AwGibStVZ8MI8lmu8576dZHucD/qgmTAcpnMszS/5KqNVUhYZn66P+ bKEiDKqPjeZsonirYtJ550hAaMixNoVovEK86aIAjPkqUVNiInJiUMdJI8drzdjveuT4 ZtTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=ZFtBw2Oc; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-86061-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86061-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q6-20020a056402518600b005664c531885si159059edd.8.2024.02.28.18.45.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:45:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86061-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=ZFtBw2Oc; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-86061-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86061-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 0934C1F22B30 for ; Thu, 29 Feb 2024 02:45:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62D25405EC; Thu, 29 Feb 2024 02:43:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="ZFtBw2Oc" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 A3DE5381AF for ; Thu, 29 Feb 2024 02:43:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174620; cv=none; b=X/GpC42swrzvEvkEadyobRCO3z2JL2+ukD5Rlw1lgUN8Qdk1NbmSX8HERlSPS+vupdXs4MavlZNQThVMvRGezK+APSCGJpdLd5IxtrGgzUqgH2NMcWW7Czfzm2lNtDZ/1pyEbibI7RHL+CTgk00ajJp5usc4PzULudpRhOBpCX8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174620; c=relaxed/simple; bh=cMCQopxYgTxYu/0amwMiu8cgPaQ+iKgRIdpZaTrEX2g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uIu6XUj6VMBLkJHZXc8hUorTWrPY+EZfSUloq62j9K4K5R6AkUd0oX+w0W8AypIYJTv0WlbDWzg1rHRoHFkNJ9GU7/sKYVhTzfh+PKUIIjmpq9ZrpGzsiaqOfc/F4eZecmZyEiywzH7skfl0JJRXh0y4jF28zngOmIBDJde4HfA= 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=ZFtBw2Oc; arc=none smtp.client-ip=209.85.210.176 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-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e581ba25e1so329204b3a.1 for ; Wed, 28 Feb 2024 18:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1709174618; x=1709779418; 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=1SNh7/XczwlcyfoaJTDElDItVS6jS2b6ony9kQsRUro=; b=ZFtBw2OcxI6t2KAhSTYju0slhpgFpu3oFL+EI++I3qJfV2+fU2lXini8uLgSGp6fce /EZeTI9q8uhFyc9p9G1gVhWQc9vP2tgLrWG4itsuvC0TOrJ+seYlJwz5FncafcIuM5zm cbs2X9qAOo/kCCbVotdzXKRNntyhrnkVPeLvPyO67OR5Ta38u2esI6dOwvrXMPdoNGvr kYIkDXdZIiTJH/Fy0k1K7R8IVvuH1NGDfnhy70w1t6WA3eERlrYu8Ye795ZyjfvXDA+0 dNQ+Zoe1ikQ06i4axlkep6EpjBMwiZdAkJVMGteSPnDMx6s0lpBIMXshA8VUCXByr0Ib xAbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709174618; x=1709779418; 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=1SNh7/XczwlcyfoaJTDElDItVS6jS2b6ony9kQsRUro=; b=RSBcDX6YYt60hUXOE55eP9f00JMow8t8anZ25x0je9jftQgfDNww9fKn+rUVUfPUHv 2STzRQWc3XvVzTEzWyP7FJYAMMTabTgURqzQrkI0hyVcJpwiI8hnqSoBtvkab0/fOFHw y3FjsW8vTuLwkOwsgLN5NO0SZ3NZ4hHKd9Be1enaLbfpQy/TlwqDp2GrKGcVmb3WPJ7r vaQgrhHsJL4s+v6FF3alGa4HjmeYykYy7VWO1mAphJdSfojw07sTCjzdrYFOvmLb0p6i 5q2l57bpMRydcDGlfw17XOl0C0ZT2BJWbOTXrIQB5QtiFcjTXQnwYH0WJ8+Y8ldwdtmF lpPg== X-Forwarded-Encrypted: i=1; AJvYcCVu2E2cuKOyVMsWClpkxTFVQaQapmkOl4ksBwfVBzGVBR7hbnmloz+zQbXUWdwbdHQmfQkDicJ3Br+urU2EetOqoYlMZKV/VZ9Gqabv X-Gm-Message-State: AOJu0YwFVdIQGnuRYH/XwZ1YI/MOZRIfG/1gxwx+sE9hDi3WpX6RFRfL j3NfhT8mqIby8pcWp4TV62UV/4Ya+8/9s8P2sZJImVUYsImq6BJ4ZlzEdJCg7Zc= X-Received: by 2002:a05:6a00:22d0:b0:6e5:9688:8025 with SMTP id f16-20020a056a0022d000b006e596888025mr115514pfj.6.1709174617867; Wed, 28 Feb 2024 18:43:37 -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 u23-20020aa78497000000b006e5092fb3efsm141504pfn.159.2024.02.28.18.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:43:37 -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 v2 6/8] Staging: rtl8192e: Rename goto OnADDBARsp_Reject Date: Wed, 28 Feb 2024 18:43:23 -0800 Message-Id: <20240229024325.453374-7-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240229024325.453374-1-tdavies@darkphysics.net> References: <20240229024325.453374-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: 1792199575820791620 X-GMAIL-MSGID: 1792199575820791620 Rename goto OnADDBARsp_Reject -> on_add_ba_rsp_reject to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2: no changes 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;