Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1097346rbb; Sun, 25 Feb 2024 20:20:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW7Cu8lWkBYmjG2cd11vyQ0HB1Kfk5CmDWbxvn5UBsBhmkp4nFCcOGcx/bysdB2OkEvfhye+kgmB9PsBtsVQkA2fjSqJAlTG5JeRruAyg== X-Google-Smtp-Source: AGHT+IGXJvCLAdxTOt4SsDHVr0r1iYRBohik2qZ0SIbR160LAniAnwam6RBI9OOOSSuUIMZi2TuW X-Received: by 2002:a05:622a:44b:b0:42e:8098:a916 with SMTP id o11-20020a05622a044b00b0042e8098a916mr3088986qtx.61.1708921225755; Sun, 25 Feb 2024 20:20:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708921225; cv=pass; d=google.com; s=arc-20160816; b=ZSYLr50vmOkFkKWwt9ByOD8Ih5yLuOxyaMSFiCTLJB+vSZFve/JOmkE1nsBTtU64kN Q2qsmQ7+0zvXrBqSyit1MxBYFBWh5ZJOmhbu9JIICRTRdBz8atk/7zSYFvBZkul4sFSA IkeWbf5SKiMzYWbrw0SbNry3p4odz1vJIVCUgukW0rL8xBTV0i/FIIoJ4NVk5u+9iL3v 532inXiuHf+yT7EWOM1rGp3aL9PSvosgNLgoZwFuts9Yt3WZBG4o5tgvomSCYL2mywqC dqVDhp7fbvK6T4YEJdZO6RraeXTmMU2UVKlLBGsqxaeqZ6DzvefLu2Xr30lgQl2EPPMe FX+g== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80515-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o11-20020ac872cb000000b0042e165bf5fbsi4096408qtp.724.2024.02.25.20.20.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:20:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80515-linux.lists.archive=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=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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80515-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8EE5A1C23AC6 for ; Mon, 26 Feb 2024 04:04:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D82D548CF0; Mon, 26 Feb 2024 03:59:26 +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 Content-Transfer-Encoding: 8bit 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; } } -- 2.39.2