Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp460662rwp; Wed, 12 Jul 2023 16:38:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlGxTxuJtXKejIV1WCPesnWPu304HwON0z2zuvb1x0fd+8LJmBleJtsa82zHNhxz4zhm17YW X-Received: by 2002:a17:90a:c083:b0:25b:d8fe:2c92 with SMTP id o3-20020a17090ac08300b0025bd8fe2c92mr18128459pjs.48.1689205130288; Wed, 12 Jul 2023 16:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689205130; cv=none; d=google.com; s=arc-20160816; b=UhGSfD1bYYS+lvmmarG038Ag5yI5ylvDZf7U0UQ5354VuhUzI+BgjRG7gkQvCMKpUB vrS9gzqnzqPfZqjmLxf4ko8Wh2YWrNjBqyunuVkSaCGs3tcl6rXFMW1jnS19nyF+/Uep EEbPXqYLan6LdPVyb+VAju+Wd/kfDZVlpSn+pQXhw3Z4B81VBZfBuL12HT3HKuPEh+nk QxQPnMjT2p/824GfIxLJqI6VXA0VOszBBme3GpZFchKZRAgcmSxkr87xC6owdbrA76xk wQkk/6DWJx9lq/QDZPlytBXRmIDbQrztihzEZJo/vOQ0XF6e9d2gosbOI0w07vhZa4bq r1Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=PBdWvSMa89iU98Q7vjd25zt2qaXEa/uqfG7fQHRMd4Y=; fh=3jvUQscqe8rwMJMYm8BR5N83dgzqgjDCTpIcxqpBKxM=; b=in4N+Ui065uIXapHoXUMAncYNaY4Pez+JduJtaTuAZDcOFghrqewLAVDZ6hCud2lI1 tH8uVmOHB3dxwLJ1PDSp6lk9nkJT0c2L0PfWSo5fLvgLHLVQJQhsGQBWa4tuqPq/x8J3 o/AsaARhfE1vrCfpPlQTj64eABqlipsDhWeRmtswCbFaxRuZwP9PrBS7Ye2CuG8LLf/1 uzOuWsSeDJ9uwTItpBL0EctrWULRmWkXdOKiMYR/Y7HIa7g1WvLFhzBw90Pc/fz2aEZ2 MH/5+XAOuNgGGWDgRA0M0Xh9LPldCMpSLJLIidHaHwQpeGKzeRxBOb6+E28xUHgVJkQ+ HKqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=LarbNlUa; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=Arf9u0F8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5-20020a636605000000b005486a1e9440si3938393pgc.780.2023.07.12.16.38.38; Wed, 12 Jul 2023 16:38:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=LarbNlUa; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=Arf9u0F8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232348AbjGLX0p (ORCPT + 99 others); Wed, 12 Jul 2023 19:26:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjGLX0n (ORCPT ); Wed, 12 Jul 2023 19:26:43 -0400 Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 206161BD5 for ; Wed, 12 Jul 2023 16:26:42 -0700 (PDT) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 80B26360BA; Wed, 12 Jul 2023 19:26:41 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:message-id:mime-version:content-type; s=sasl; bh= tRo1T0O8Jm/q/6nDZsghbfTn0IEKHnogc2dvBlJANZg=; b=LarbNlUap4TJpaB3 0dj/bfrdwgKF2bzcBsY+OJh9hAkp1kGOA9a8z0l6ltbac90ktQtiNIq3V3ysu3Mp GWTgPSPlu+D6WYdLKESfeprnNYd3gY9MZ18npUHitZE1u/Q66GglTeYKC3W9KMEv NApxlet+FnCQY5f2xfgSgjjYFBM= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 7845A360B9; Wed, 12 Jul 2023 19:26:41 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=date:from:to:cc:subject:message-id:mime-version:content-type; s=2019-09.pbsmtp; bh=tRo1T0O8Jm/q/6nDZsghbfTn0IEKHnogc2dvBlJANZg=; b=Arf9u0F8ZEdUqj9p3Jy28zlxHYZcVVV68tzoQOGwIvdePy/Tm1WIZqsUKDcbcQQNk9XcHBe9YqAeoi2wHHg3zMw5SegeZQB355WLOwqrwE+N6Qzjrm9GpdMk4B32HKW4ZioJuLOb33rBsVHcxrqW7la1YPFKPcmN7yjTtcaSjvY= Received: from basil (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id AEC8E360B8; Wed, 12 Jul 2023 19:26:37 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Wed, 12 Jul 2023 16:27:26 -0700 From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: tdavies@darkphysics.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 03/12] Staging: rtl8192e: Rename function TxTsDeleteBA Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Pobox-Relay-ID: 8C5A61C8-210B-11EE-B070-B31D44D1D7AA-45285927!pb-smtp21.pobox.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename function TxTsDeleteBA to tx_ts_delete_ba in order 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 50362bbbc8dd..6538343ea44d 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -23,7 +23,7 @@ static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *pB del_timer_sync(&pBA->timer); } -static u8 TxTsDeleteBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) +static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) { struct ba_record *pAdmittedBa = &pTxTs->TxAdmittedBARecord; struct ba_record *pPendingBa = &pTxTs->TxPendingBARecord; @@ -456,7 +456,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) pTxTs->bAddBaReqInProgress = false; pTxTs->bAddBaReqDelayed = false; del_timer_sync(&pTxTs->TsAddBaTimer); - TxTsDeleteBA(ieee, pTxTs); + tx_ts_delete_ba(ieee, pTxTs); } return 0; } @@ -492,7 +492,7 @@ void TsInitDelBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs = (struct tx_ts_record *)pTsCommonInfo; - if (TxTsDeleteBA(ieee, pTxTs)) + if (tx_ts_delete_ba(ieee, pTxTs)) rtllib_send_DELBA(ieee, pTsCommonInfo->Addr, (pTxTs->TxAdmittedBARecord.b_valid) ? (&pTxTs->TxAdmittedBARecord) : @@ -524,7 +524,7 @@ void TxBaInactTimeout(struct timer_list *t) TxAdmittedBARecord.timer); struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, TxTsRecord[pTxTs->num]); - TxTsDeleteBA(ieee, pTxTs); + tx_ts_delete_ba(ieee, pTxTs); rtllib_send_DELBA(ieee, pTxTs->TsCommonInfo.Addr, &pTxTs->TxAdmittedBARecord, TX_DIR, DELBA_REASON_TIMEOUT); -- 2.41.0