From: Philipp Hortmann <philipp.g.hortmann@gmail.com>
To: Tree Davies <tdavies@darkphysics.net>,
gregkh@linuxfoundation.org, anjan@momi.ca
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 7/8] Staging: rtl8192e: Rename function rtllib_FlushRxTsPendingPkts()
Date: Mon, 26 Feb 2024 17:57:24 +0100 [thread overview]
Message-ID: <535eb04e-19bb-4d64-9818-7fc28195b9b1@gmail.com> (raw)
In-Reply-To: <20240226035915.370478-8-tdavies@darkphysics.net>
On 2/26/24 04:59, Tree Davies wrote:
> Rename function rtllib_FlushRxTsPendingPkts -> rtllib_flush_rx_ts_pending_pkts
This line is too long.
WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit
description?)
#
> to fix checkpatch warning Avoid CamelCase.
>
> Signed-off-by: Tree Davies <tdavies@darkphysics.net>
> ---
> drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +-
> drivers/staging/rtl8192e/rtllib.h | 2 +-
> drivers/staging/rtl8192e/rtllib_rx.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c
> index 0581ed1e9ed1..04f3fb54d1b7 100644
> --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c
> +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c
> @@ -268,7 +268,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb)
> goto on_add_ba_req_fail;
> }
>
> - rtllib_FlushRxTsPendingPkts(ieee, ts);
> + rtllib_flush_rx_ts_pending_pkts(ieee, ts);
>
> deactivate_ba_entry(ieee, ba);
> ba->dialog_token = *dialog_token;
> diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
> index 05abc001507c..fe850dbeaa02 100644
> --- a/drivers/staging/rtl8192e/rtllib.h
> +++ b/drivers/staging/rtl8192e/rtllib.h
> @@ -1810,7 +1810,7 @@ bool rtllib_mgnt_disconnect(struct rtllib_device *rtllib, u8 rsn);
> /* For the function is more related to hardware setting, it's better to use the
> * ieee handler to refer to it.
> */
> -void rtllib_FlushRxTsPendingPkts(struct rtllib_device *ieee,
> +void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee,
> struct rx_ts_record *ts);
CHECK: Alignment should match open parenthesis
#40: FILE: drivers/staging/rtl8192e/rtllib.h:1814:
+void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee,
struct rx_ts_record *ts);
> int rtllib_parse_info_param(struct rtllib_device *ieee,
> struct rtllib_info_element *info_element,
> diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c
> index 051371e0138c..be0f92e97d12 100644
> --- a/drivers/staging/rtl8192e/rtllib_rx.c
> +++ b/drivers/staging/rtl8192e/rtllib_rx.c
> @@ -487,7 +487,7 @@ void rtllib_indicate_packets(struct rtllib_device *ieee,
> }
> }
>
> -void rtllib_FlushRxTsPendingPkts(struct rtllib_device *ieee,
> +void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee,
> struct rx_ts_record *ts)
CHECK: Alignment should match open parenthesis
#40: FILE: drivers/staging/rtl8192e/rtllib.h:1814:
+void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee,
struct rx_ts_record *ts);
> {
> struct rx_reorder_entry *pRxReorderEntry;
next prev parent reply other threads:[~2024-02-26 16:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 3:59 [PATCH 0/8] Staging: rtl8192e: Fix Checkpatch warnings in rtl819x_BAProc.c Tree Davies
2024-02-26 3:59 ` [PATCH 1/8] Staging: rtl8192e: Fix 5 chckpatch alignment " Tree Davies
2024-02-26 3:59 ` [PATCH 2/8] Staging: rtl8192e: Rename variable TxRxSelect Tree Davies
2024-02-26 3:59 ` [PATCH 3/8] Staging: rtl8192e: Rename function rtllib_send_ADDBAReq() Tree Davies
2024-02-26 3:59 ` [PATCH 4/8] Staging: rtl8192e: Rename function rtllib_send_ADDBARsp() Tree Davies
2024-02-26 3:59 ` [PATCH 5/8] Staging: rtl8192e: Rename goto OnADDBAReq_Fail Tree Davies
2024-02-26 3:59 ` [PATCH 6/8] Staging: rtl8192e: Rename goto OnADDBARsp_Reject Tree Davies
2024-02-26 3:59 ` [PATCH 7/8] Staging: rtl8192e: Rename function rtllib_FlushRxTsPendingPkts() Tree Davies
2024-02-26 16:57 ` Philipp Hortmann [this message]
2024-02-26 3:59 ` [PATCH 8/8] Staging: rtl8192e: Rename function GetHalfNmodeSupportByAPsHandler() Tree Davies
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=535eb04e-19bb-4d64-9818-7fc28195b9b1@gmail.com \
--to=philipp.g.hortmann@gmail.com \
--cc=anjan@momi.ca \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=tdavies@darkphysics.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox