From patchwork Thu Feb 29 02:43:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 208174 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp138752dyb; Wed, 28 Feb 2024 18:44:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX8hS86rgydg4aWSyUuuNTjtxEJWdlbBL/KU/zenhNfkoHlaGwh42SF6RfbcdQhLtHNLOnIq/DpdQ6cNAUw/3HK/AdWjA== X-Google-Smtp-Source: AGHT+IGGfm9HzaaFKEPH3yDKk9s/z4GYEY+Z3ijFEWcCKcEx6mdYgWWqD+908BoX1EIqRqRWaXuG X-Received: by 2002:a05:6402:2299:b0:566:8608:3241 with SMTP id cw25-20020a056402229900b0056686083241mr391347edb.14.1709174692574; Wed, 28 Feb 2024 18:44:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709174692; cv=pass; d=google.com; s=arc-20160816; b=DIvc8TOVUtwpPrnWjSE6o3c6QNj04GlckHWwMFR9q14eUm4FZ4j6ApfysYqLMnAMk4 lCBjAFrmpY6WzRf9SAuUOH9pZKAw0+8Viky2q5PCL719booVJueOIUt7jkDwUZq1fW1L N+DYt8EdlKVbWTU3VPy0OZCDeMhwbAHLql50fdlz2vWo73xdfmMOE77MLSJVkHBSn7Eg GFxmzrjT1MyprNZ7GsdfDaZr6ntXJ45uLoxBnDizPcjDffU8Zc7zS2b0OTl53bXibmsu /yjKGcIXfW+6dfBe0Do6WVY5FFYHJdnp9387msj9xP2Ccn9a4SAsTtn6+oTsRE5AG3G1 QNYQ== 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=FhfHq+TB9JfA9EoJNMTx1D1THIHV8qXBJRS7zjeQSzA=; fh=s7MIv0rRGOmkULpFYL5YzS/O49m/ds+rOwbplgtCO64=; b=j2rh99hmS14bE0RHcUf2NkJ6YxVCh2Tbnpn4jPv6IpfC8DcmbHc69WrldFfXtSHOZH k+I8Tw1tDTUENnsKTiXvLSQwkTzAT9t5dtPD3O2PSwAtbEOCRaSytUIkLUm+uZmZ3N1P LdMMfc86EQrGd/7tBK/aujzsn4Af7BTPUDXeZG+B1icS9oQ1VRCSmZGL3V2BWuKLpLdh fzaxEw1v/A1il9qz/Q1GWkX5QbRH7xMYP4rNLG4sNo5NYSfULrIPoThIEt0Po2cRUiDA OXYez8EM9zc4TIhpwvNN1TDFxXMtMcVP7/2D+Vmjmil4elMDp2KitMi2CGflb2yn1peX GPPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=QX9UehVi; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-86059-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86059-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 k11-20020a508acb000000b00564432b527dsi148812edk.551.2024.02.28.18.44.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:44:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86059-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=QX9UehVi; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-86059-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86059-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 33BDF1F22A66 for ; Thu, 29 Feb 2024 02:44:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F0BD3D0BE; Thu, 29 Feb 2024 02:43:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="QX9UehVi" Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) (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 D7DE236B16 for ; Thu, 29 Feb 2024 02:43:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174619; cv=none; b=LVbjr8I4l1kEMrnG3qfKGtCtsWyh20n3VSJycXTos3uHkRcUh1O2FKhww+8Lrc2kH54zBLgBh7IY/3i/ATEaSh0RB4686WcvrVg0ZcAG0UFfk2PbadjWNXTF1jV4EHEwliVpYtusv2UiuNF395ZuJmB2ZS7g0bTf7V9W2FropSs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709174619; c=relaxed/simple; bh=TtPGBk36XpX3CmVxUVDkkA32ftSJsHAWNhFPZRbIGyc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SBT63IUpuXWWYgrbc2xI40eh+N7Y104kb14wLERxD7/0fJJxhnNcEbtd/GqUeTidLkWf0dsnCspCS9IES3MwfTwlsr+hKPU8+oTc92FdWvqG84JFhEUGQv+acZKZSCurM5WTN+qhzT7D+aJvNuXYsOcJG0YJT8S3nc0CJ18AAEY= 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=QX9UehVi; arc=none smtp.client-ip=209.85.166.171 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-il1-f171.google.com with SMTP id e9e14a558f8ab-3651c1e1022so2492795ab.0 for ; Wed, 28 Feb 2024 18:43:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1709174617; x=1709779417; 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=FhfHq+TB9JfA9EoJNMTx1D1THIHV8qXBJRS7zjeQSzA=; b=QX9UehVivYX4JKsYd+FHiIwYqCU/EK0AZnEFakzbC1einYD/a1+8DoQNH1eTTXEBpU dBLF9AUxygVVhTl4yxslWWqqN2ZkAsCIpydtnqPy3HGWf0VqDmFiuYBqF8l52CkPeK2N bFwRy0/T49yT571HthEu0BYykyS6Vke85Tar8zH25WHNTTSmOEJk3JaDtr50k7anp6VL KvBEgz/uPrk/QQIDWiOa2K9+mZZdNoIo5Sgt0QGOI9tAvYAoQHMVlZCZ0WtfD3Troep8 PpAWWzOvF9Exzy1krGMcd+y0AFPmHUu5AfWxUyVMlUQM9b3WOgxYGbhZtlhnFWNLWpmw 8qHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709174617; x=1709779417; 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=FhfHq+TB9JfA9EoJNMTx1D1THIHV8qXBJRS7zjeQSzA=; b=O/OGRFkjFPVKR8xPox+mChgmlIZuaqDIrKx5GdCFPpl5Zkq81pyz6tFBfEcGywzPQm tnz3uedA3FQnNJvxGJ5mhlRx9ZMu1ojvVca5KvKDt13+UjVjIACHoTXj5sA+tG3afy3z MnwUsTf7NFSKmrhPjSp9lPPxnyE7YYvd8oYXKg8+lIgwWouo2x/o/2OTKJ5NpNONsxS7 /kgqzTDQcMuZdkqQEPsP/4Mad585zq0KcDgvI3q5gtjplimaMPf4L1P027VZpt9/ZyKJ gPfHLWPDQ5yKMduTG9yv6qroNgXn3ezqyggxPCLFqzgTZAZa/WX337VJWvjUJp9u/2y2 t2ew== X-Forwarded-Encrypted: i=1; AJvYcCXXfNNSgJ7t9c3sNAR7ceSf69/7HfGPt1T3gplYZXMmyX1kP6U5B4XQ0phdP+R3tuiIctyJo2wpDLR4HUd2LZ323WMR0m0ROGYTOXBc X-Gm-Message-State: AOJu0YxbQehpi0yQh8MJQJpRmhvC1/DYtC6yoUyJCJt2SzypKCINf0hL LNgE53+ENqDj3CnTHjjEVa1PjPDhUSNZxVKsomY74NCJef0g71IVGE+8DV08q78= X-Received: by 2002:a92:d988:0:b0:365:8513:b6b with SMTP id r8-20020a92d988000000b0036585130b6bmr1130962iln.29.1709174617086; 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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:43:36 -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 5/8] Staging: rtl8192e: Rename goto OnADDBAReq_Fail Date: Wed, 28 Feb 2024 18:43:22 -0800 Message-Id: <20240229024325.453374-6-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: 1792199562583216287 X-GMAIL-MSGID: 1792199562583216287 Rename goto OnADDBAReq_Fail -> on_add_ba_req_fail to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2: no changes 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;