Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1106506rbb; Sun, 25 Feb 2024 20:55:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVP0cRhHZ8L7kGtwLYoBFgjaKMqP+thCXX2ReepCI5FxNQ1cUqnViQYMkKSfHXaanuMTLOMra2c1qeb9UAwHKvyhgwmj1nt5Ox51vrjDg== X-Google-Smtp-Source: AGHT+IEebhEcLZUONo3Rrv6KEZ59t8+CZzw2O/P00+GJFqfvcmF7ku4S6GYLjqNlRb20xljigX9N X-Received: by 2002:a17:902:ea0b:b0:1dc:7101:58c0 with SMTP id s11-20020a170902ea0b00b001dc710158c0mr8501844plg.22.1708923322954; Sun, 25 Feb 2024 20:55:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708923322; cv=pass; d=google.com; s=arc-20160816; b=lWzo7JyWa+YwlqvHJ/1jU5oWt81qmjp7oZnvefxPNv2q4MIhm+5e/CqMPdARAZRluO xygUHmPWDSWPGRD1pzI77Yjvkd3IN0BOoAIHHKLbqKRyqaRlWDYfnWMVPimqkDGEoDtN oQBPhzkL58yjroD9xUVT7ai8bxA/SK36YOPE3vklwNkRuC57YfIQHgdR8n8QGy+PKY5N KIjJ2pYy7GeheH9lE3r1PSQjCh+zl9rFt7lh3kgXtwcr9XJ6K6hDVdxy5IPtgep1YEeo IxTHiVs7+KiMjrnZPZxkOSdY9IEPxLsqeRWEpn2cFoFWEXw9IwMpfGKdYhou6UUXTVYU Idwg== 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=rGkMtZnMwDRCTDJWkTJfXl4hQDwdTzERQIWmh/gkWIo=; fh=acXnlwES7p7KpiRJupcIIkXaX9lfhsONKdwA5R+Ij28=; b=u3+4WTSZniQspnebR/iHNf33d6/dUXnT893V44jdC76nciGmZRGL3AzZVToXQl9cw3 1AYKBY20aerRSMo0IDf0WKtyH4Uje3k3WMLEeh+T4HvPO/Q9lwXPYXth5IZ67zAtclo8 6CHiOdT4yOeZborpzeJz2o4a2+LlWQwP9SIiq8S+/kfelUJraR0cN2rPXOCdCKOMnE+K 8kxWkUykAOWo123Jb2vOY9Z+s+xXguVCoDzKoFq/JsAVcz1AqWsuSYb5OsXC2nUiGpDx BtiC/lu2gCLY1IbQjSPMKfiabjQGvNz4tRxbC6lrxqG/1d8MN60urEXP+MfxB1mesq35 b3hw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=TMRwYD0U; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80500-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80500-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n4-20020a170902d2c400b001d6fb87b11csi3086230plc.265.2024.02.25.20.55.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:55:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80500-linux.lists.archive=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=TMRwYD0U; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80500-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80500-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6BD1328339B for ; Mon, 26 Feb 2024 04:01:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC85C27469; Mon, 26 Feb 2024 03:56:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="TMRwYD0U" 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 72D1C208A3 for ; Mon, 26 Feb 2024 03:56:44 +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=1708919805; cv=none; b=eN9Hh+R2Jbxnbknw42LJX8nNy4AoaYYvyJ/lFKtYhd8wx3+HSYH4hanxw8T81QSqVNObwCPO0u8LWnlQDwSJNmgMKO5hzh/ACDX8E5feoQZY9rpJ+JqB1dhPsaAqqlTxEmHqldM4N7NWn9oWZqXZULhpXPVavQX5oSvko4J152I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919805; c=relaxed/simple; bh=ccgrBS5gx0A8n+xON2ivzQIcNrT3sswX1xiI4A4qBo8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nEzzr16+yZCP2XatNL/6zvH1UcgBBoII7qf/iLRE/QxQlIId9xslN4Ygg0Td5c/kZktrWz0i4FgK5HLbrxULTn4v20LFDGTRgwZfzH5yEIWdeIMSIjliO9GkPc+Bpz8I6PxBd4vxEAQeBn07xP1JIm9cWgdUE0HluZq+ImBKEeA= 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=TMRwYD0U; 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-1dc139ed11fso15855355ad.0 for ; Sun, 25 Feb 2024 19:56:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919804; x=1709524604; 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=rGkMtZnMwDRCTDJWkTJfXl4hQDwdTzERQIWmh/gkWIo=; b=TMRwYD0UtIqtSYDttiDRhduGzwzoEK7y+gLCYz7p3fsueKGL8kFBskuTdgW8L9vupn IOfGmlpkzAM7TCnvOhsSQnLb/QEPAXw6Zfp1Rg7QMq2kumVy8fkTbMUmoPn9O1YDcQea SXY2ZatJ86baAnjlq4a/iKQtIMt9nCehe6VTh0rO3pU+4WLPEfSFn+58kTDCSNTUwW6e wThJEm1ltZqNsoF/W4v4jbP+1G3BQgiZvB3lKoFnwFsfjlrkKujjE+IelNAfvkt2xBbM OXlHqHCq7QjYk6wIOSHHn+kjyKlrb+9yKIWr9KRlZ9ai0k//FIkAR7/lJM9oxRacJNGo QTqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919804; x=1709524604; 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=rGkMtZnMwDRCTDJWkTJfXl4hQDwdTzERQIWmh/gkWIo=; b=Q6ipVOTJtUi7i2zw3rTkclUTnyYwtxRqWgIlfHVn1nOx995qqRz4krCb0RqwcFSFo+ NbIGbtDP4iqawojeCjfqD/53hZ3x4buhh9hj2P6+BgBUodE7Z3KrSSvXtt0hQzZ5tkVy geZwgEE6CKyLUfbboiOPqemnhixBMj7bxDKGiUlaFBO3SZsyGu/ngrETU98IS7twddfH CBzc0KuZHKPo9QfkRW/YFt6zzu5340er2BEH9kqxsVW5SnpFKxPCbn9dTXKMvvb8wSdh BS26JLqF3yEFdX7v5EfAUufnst7FMy78tTTzcAZtDhaNV3qaBS9OoNTJQe2C2kdohJog 0dZw== X-Forwarded-Encrypted: i=1; AJvYcCWA3zb56SJok4GYaUeF/26izG/8RcDIt+8MdUQMIy7Jd7MT4syxSu3lhQ9y9Riy0IjZRCxSS2q0RPayTzM/g4uYhSB82tnVl7kaBPV4 X-Gm-Message-State: AOJu0YxKWzati2NZzaJGU0w1auC7GJw12mzxVnQi1wM3JXhYUQZtzDGx 4D44NQaK/gVgxuW4EPUl1SjtoMjiN0G7vTEish24Tzgl316tG1PsLr0/Wk8dGEY= X-Received: by 2002:a17:902:e541:b0:1db:fd93:8d4d with SMTP id n1-20020a170902e54100b001dbfd938d4dmr8274318plf.15.1708919803926; Sun, 25 Feb 2024 19:56:43 -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 kh5-20020a170903064500b001d8a93fa5b1sm2897615plb.131.2024.02.25.19.56.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:56:43 -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 18/20] Staging: rtl8192e: Rename reference AllowAllDestAddrHandler Date: Sun, 25 Feb 2024 19:56:22 -0800 Message-Id: <20240226035624.370443-19-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035624.370443-1-tdavies@darkphysics.net> References: <20240226035624.370443-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename variable AllowAllDestAddrHandler to allow_all_dest_addr_handler to fix checkpatch warning Avoid CamelCase, Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index f99cc5b639fe..fc5014f719d7 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -661,7 +661,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev) rtl92e_is_halfn_supported_by_ap; priv->rtllib->set_hw_reg_handler = rtl92e_set_reg; - priv->rtllib->AllowAllDestAddrHandler = rtl92e_set_monitor_mode; + priv->rtllib->allow_all_dest_addr_handler = rtl92e_set_monitor_mode; priv->rtllib->init_gain_handler = rtl92e_init_gain; priv->rtllib->rtllib_ips_leave_wq = rtl92e_rtllib_ips_leave_wq; priv->rtllib->rtllib_ips_leave = rtl92e_rtllib_ips_leave; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index a5925fe75a6a..7ad8bab23224 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1493,7 +1493,7 @@ struct rtllib_device { u8 Operation); void (*set_hw_reg_handler)(struct net_device *dev, u8 variable, u8 *val); - void (*AllowAllDestAddrHandler)(struct net_device *dev, + void (*allow_all_dest_addr_handler)(struct net_device *dev, bool bAllowAllDA, bool WriteIntoReg); void (*rtllib_ips_leave_wq)(struct net_device *dev); diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 644e2dffd185..b32c190f0113 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -355,7 +355,7 @@ void rtllib_enable_net_monitor_mode(struct net_device *dev, netdev_info(dev, "========>Enter Monitor Mode\n"); - ieee->AllowAllDestAddrHandler(dev, true, !init_state); + ieee->allow_all_dest_addr_handler(dev, true, !init_state); } /* Disables network monitor mode. Only packets destinated to @@ -367,7 +367,7 @@ void rtllib_disable_net_monitor_mode(struct net_device *dev, bool init_state) netdev_info(dev, "========>Exit Monitor Mode\n"); - ieee->AllowAllDestAddrHandler(dev, false, !init_state); + ieee->allow_all_dest_addr_handler(dev, false, !init_state); } static void rtllib_send_probe(struct rtllib_device *ieee) -- 2.39.2