Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1780066rdb; Wed, 20 Sep 2023 21:50:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFKt5guvI9Yx6a/NSNCisZNZBEcFMLY1OPH8CGpPqOFfHhWoBRkwiVuuZbcgsPvtHr52EX X-Received: by 2002:a05:6a20:3250:b0:153:d04a:f73f with SMTP id hm16-20020a056a20325000b00153d04af73fmr3833424pzc.22.1695271838385; Wed, 20 Sep 2023 21:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695271838; cv=none; d=google.com; s=arc-20160816; b=GAliI9YPvRuiPxHZaowPKC9f1o9WIrKR1yeRN0Z2aE82AZOnwZBDlKyI2XsaqF5wCH yW0uGAHZT3mqqd+qXlg1j6ES7XA26sCjW317hGWncYQJ+OBk5V7fdQh2QQjazjikfY59 Pgh07FxT4ntqOPmiySYugPYjZOIeDyWJkKMV4OOGLWD5O1QPB9rjaUb3TGzxwRdPqVbQ /03Mexa0L5RXnxEHJm6CVJ/i70Wwl8VzTmrZFvBXeWvZqJOI/UcNsdJ5gp8SgekDhy/8 3YhBTae9p06PjTNP1fzl6tEBB5nCthIWjQYh8FlKqJnjxFkK4gUYhaM73ZA8J8yQ+lbR GNcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ezc9OmR5yedthZ9g5F70+CNner2Or9B8MzoP6J9I9Ho=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=kHg//SVtVhO+X84zh/IU9ZbC6EIzlP7Fcz7dvQlxWilUa+dYbJU69HqniY+1Z5OrPz CL0LGaKlcDUXxw0U4Hh7C8fI9hjH67fQFV1icWSH3olgv4x/doKGVaFfzQxorZBTZEDp GassoYifjcnRd/nWB5F57yDmkw59c7J3SBuYr+NgSfme5OfHPoxZlY/D6OdsUR1+Afv7 0xNvhDZtqghKoV3F4EWNUOGhxmSy6cyi9epUM5NDPXU/LE111xo+vSgZkAls3rwEuas7 4a89cIf1TGDMjuzc3l6T+sBQApUB/7xbd8kPbPFJvrA7lnkEjisJ75XXAkibfBhvVodM yPtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=i4afTTPj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id iz21-20020a170902ef9500b001c3e98a0d79si576897plb.401.2023.09.20.21.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 21:50:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=i4afTTPj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 145E283135A9; Wed, 20 Sep 2023 20:23:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229692AbjIUDWJ (ORCPT + 99 others); Wed, 20 Sep 2023 23:22:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbjIUDVn (ORCPT ); Wed, 20 Sep 2023 23:21:43 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0042CF5 for ; Wed, 20 Sep 2023 20:21:36 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3ade1c7ffcfso318244b6e.3 for ; Wed, 20 Sep 2023 20:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1695266496; x=1695871296; 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=ezc9OmR5yedthZ9g5F70+CNner2Or9B8MzoP6J9I9Ho=; b=i4afTTPj2pmyrMkQKaiFzGPRvCAS/z0Cr500QiTTM7glKkNKpiyawZGvOt2CGVf1ft Iz/qsg9shTGmbVdBpegjvUxn7Pt+8LSQyMG5bBuswJ0mNgMk0Lv1XLD9tX6GabFW/I7Z dLLlA0/E5Sw1W36jFrgKHkmJ+R4Vq1Xu0ESV5wen4fK5sLDA/ScDH65z6haZFypE1ojG /4I69Z26pY2V5+7nZJuATHrHsff8+yiKusCFd24djfLLV7TnWMtEgJG22ckKEueY331y 4y2ziVFsZCV1sQBCaaQ32jy7aO1vhxCGhzGALFcxl6ZaKxdmqSpM8uK3BjIMwgapWuxn PDkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695266496; x=1695871296; 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=ezc9OmR5yedthZ9g5F70+CNner2Or9B8MzoP6J9I9Ho=; b=NTsuGxH/ipSIrD7CtKDJwoeMLMjS0QAevc5T0lfU2XlilaOedECBHwrh58slAEixOT OCvdfHnS+8uXaa5qDQOHLfRM7R8Zjhq035mh3Hd+KvprJee+KgGgr9W+QkoH8nDEVmXs vrZCNELqJvmWryzoGkcuX//W0gGl2Y2zg1P7AtRS6Uv8TWO9Ccem6HpgHQVPjRL0EOxq SB+Uo2zVdg+Gv0soEc5lAGlWzMPnJPYxTqABJ5nkoCr9AUf8ockCfbVFo6MEowoQGxR7 8oV6m9NsS2HmFv39VZMBMURaus7t1P/GX6OgO7Bc0Bgzwbz+G99M3OdOXbwDr/LibGMn eCvQ== X-Gm-Message-State: AOJu0YzdScxd40mZy8yeFKBGEjWFg+Yi88v+O7kbSD2I+hDAjRPoi3QG DndzjHmYLZOnnKB3NaWC8okDyA== X-Received: by 2002:a05:6808:1387:b0:3a8:5c24:4ef6 with SMTP id c7-20020a056808138700b003a85c244ef6mr4946471oiw.58.1695266496267; Wed, 20 Sep 2023 20:21:36 -0700 (PDT) Received: from basil.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id p14-20020a62ab0e000000b0068e49cb1692sm237324pff.1.2023.09.20.20.21.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 20:21:35 -0700 (PDT) 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 10/11] Staging: rtl8192e: Rename function TSInitialize Date: Wed, 20 Sep 2023 20:25:14 -0700 Message-ID: <20230921032515.96152-11-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230921032515.96152-1-tdavies@darkphysics.net> References: <20230921032515.96152-1-tdavies@darkphysics.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 20 Sep 2023 20:23:07 -0700 (PDT) Rename function TSInitialize to rtllib_ts_init to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_module.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index d52deba1f20e..637e22897803 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -120,7 +120,7 @@ static void ResetRxTsEntry(struct rx_ts_record *ts) rtllib_reset_ba_entry(&ts->rx_admitted_ba_record); } -void TSInitialize(struct rtllib_device *ieee) +void rtllib_ts_init(struct rtllib_device *ieee) { struct tx_ts_record *pTxTS = ieee->TxTsRecord; struct rx_ts_record *rxts = ieee->RxTsRecord; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 727bdcf7455d..c314324720c4 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1844,7 +1844,7 @@ void rtllib_rx_ba_inact_timeout(struct timer_list *t); void rtllib_reset_ba_entry(struct ba_record *pBA); bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *addr, u8 TID, enum tr_select TxRxSelect, bool bAddNewTs); -void TSInitialize(struct rtllib_device *ieee); +void rtllib_ts_init(struct rtllib_device *ieee); void TsStartAddBaProcess(struct rtllib_device *ieee, struct tx_ts_record *pTxTS); void RemovePeerTS(struct rtllib_device *ieee, u8 *addr); diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_module.c index 2416e0c60255..abd6bfd4dfa3 100644 --- a/drivers/staging/rtl8192e/rtllib_module.c +++ b/drivers/staging/rtl8192e/rtllib_module.c @@ -128,7 +128,7 @@ struct net_device *alloc_rtllib(int sizeof_priv) HTUpdateDefaultSetting(ieee); HTInitializeHTInfo(ieee); - TSInitialize(ieee); + rtllib_ts_init(ieee); for (i = 0; i < IEEE_IBSS_MAC_HASH_SIZE; i++) INIT_LIST_HEAD(&ieee->ibss_mac_hash[i]); -- 2.39.2