From: "Bera Yüzlü" <b9788213@gmail.com>
To: tommyguo039@gmail.com
Cc: b9788213@gmail.com, gregkh@linuxfoundation.org,
linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev
Subject: Re: [PATCH v2] staging: rtl8723bs: remove GEN_CMD_CODE macro and callback array
Date: Thu, 2 Apr 2026 10:13:37 +0300 [thread overview]
Message-ID: <20260402071336.12211-2-b9788213@gmail.com> (raw)
In-Reply-To: <20260402023621.142194-1-tommyguo039@gmail.com>
On Wed, 1 Apr 2026 22:35:59 -0400, Xiyuan Guo wrote:
> The GEN_CMD_CODE macro and the rtw_cmd_callback function pointer array
> add unnecessary layers of indirection and make the code difficult to
> follow. Remove the GEN_CMD_CODE macro and replace the function pointer array
> dispatcher in rtw_cmd_thread() with a direct switch statement.
>
> Additionally, rename the associated command enums from CamelCase to
> UPPERCASE_SNAKE_CASE to comply with the standard Linux kernel coding
> style.
>
> Signed-off-by: Xiyuan Guo <tommyguo039@gmail.com>
> ---
...
> -#endif /* _CMD_H_ */
> +#endif /* _CMD_H_ */
This must be __RTW_CMD_H_ but it is competely unrelated with this patch.
If you want to fix this you can send a separate patch.
Thanks,
Bera
prev parent reply other threads:[~2026-04-02 7:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-02 2:35 [PATCH v2] staging: rtl8723bs: remove GEN_CMD_CODE macro and callback array Xiyuan Guo
2026-04-02 7:13 ` Bera Yüzlü [this message]
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=20260402071336.12211-2-b9788213@gmail.com \
--to=b9788213@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=tommyguo039@gmail.com \
/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