From: Greg KH <gregkh@linuxfoundation.org>
To: "Yiğit Mehmet" <yigitmehmetcintay2@gmail.com>
Cc: linux-staging@lists.linux.dev
Subject: Re: [PATCH] staging: rtl8723bs: rtw_cmd.c: convert CamelCase structs and callbacks to snake_case
Date: Thu, 1 Oct 2026 07:37:35 +0200 [thread overview]
Message-ID: <2026100158-cobbler-unwanted-0e6a@gregkh> (raw)
In-Reply-To: <CACzRdUFuF+CrcLSJKH5jL9ief_Hwx7q1vveqgbnm2B3N7WNmWQ@mail.gmail.com>
On Tue, Sep 08, 2026 at 01:00:15PM +0300, Yiğit Mehmet wrote:
> >From 9b93f99e0d16a43c33369a5f2515925ca265e6dd Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Yi=C4=9Fit?= <ymailnull@gmail.com>
> Date: Tue, 8 Sep 2026 12:42:56 +0300
> Subject: [PATCH] staging: rtl8723bs: rtw_cmd.c: convert CamelCase structs
> and
> callbacks to snake_case
>
> ---
> drivers/staging/rtl8723bs/core/rtw_cmd.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c
> b/drivers/staging/rtl8723bs/core/rtw_cmd.c
> index ce3dfa1fe..68e3fc761 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c
> @@ -34,7 +34,7 @@ static struct _cmd_callback rtw_cmd_callback[] = {
> {SET_AUTH_CMD, NULL},
>
> {SET_KEY_CMD, NULL}, /*20*/
> - {SET_STA_KEY_CMD, &rtw_setstaKey_cmdrsp_callback},
> + {SET_STA_KEY_CMD, &rtw_set_sta_key_cmdrsp_callback},
> {SET_ASSOC_STA_CMD, &rtw_setassocsta_cmdrsp_callback},
> {DEL_ASSOC_STA_CMD, NULL},
> {SET_STA_PWR_STATE_CMD, NULL},
> @@ -131,7 +131,7 @@ static struct cmd_hdl wlancmds[] = {
> GEN_MLME_EXT_HANDLER(0, NULL)
> GEN_MLME_EXT_HANDLER(0, NULL)
> GEN_MLME_EXT_HANDLER(0, NULL)
> - GEN_MLME_EXT_HANDLER(sizeof(struct addBaReq_parm), add_ba_hdl)
> + GEN_MLME_EXT_HANDLER(sizeof(struct add_ba_req_parm), add_ba_hdl)
> GEN_MLME_EXT_HANDLER(sizeof(struct set_ch_parm), set_ch_hdl) /* 46 */
> GEN_MLME_EXT_HANDLER(0, NULL)
> GEN_MLME_EXT_HANDLER(0, NULL)
> @@ -141,15 +141,15 @@ static struct cmd_hdl wlancmds[] = {
> GEN_MLME_EXT_HANDLER(0, NULL)
> GEN_MLME_EXT_HANDLER(0, NULL)
> GEN_MLME_EXT_HANDLER(0, NULL)
> - GEN_MLME_EXT_HANDLER(sizeof(struct Tx_Beacon_param), tx_beacon_hdl) /*55*/
> + GEN_MLME_EXT_HANDLER(sizeof(struct tx_beacon_param), tx_beacon_hdl) /*55*/
>
> GEN_MLME_EXT_HANDLER(0, mlme_evt_hdl) /*56*/
> GEN_MLME_EXT_HANDLER(0, rtw_drvextra_cmd_hdl) /*57*/
>
> GEN_MLME_EXT_HANDLER(0, h2c_msg_hdl) /*58*/
> - GEN_MLME_EXT_HANDLER(sizeof(struct SetChannelPlan_param), set_chplan_hdl)
> /*59*/
> + GEN_MLME_EXT_HANDLER(sizeof(struct set_channel_plan_param),
> set_chplan_hdl) /*59*/
>
> - GEN_MLME_EXT_HANDLER(sizeof(struct SetChannelSwitch_param), set_csa_hdl)
> /*60*/
> + GEN_MLME_EXT_HANDLER(sizeof(struct set_channel_switch_param),
> set_csa_hdl) /*60*/
> GEN_MLME_EXT_HANDLER(sizeof(struct TDLSoption_param), tdls_hdl) /*61*/
> GEN_MLME_EXT_HANDLER(0, chk_bmc_sleepq_hdl) /*62*/
> GEN_MLME_EXT_HANDLER(sizeof(struct RunInThread_param), run_in_thread_hdl)
> /*63*/
> @@ -978,7 +978,7 @@ u8 rtw_addbareq_cmd(struct adapter *padapter, u8 tid,
> u8 *addr)
> {
> struct cmd_priv *pcmdpriv = &padapter->cmdpriv;
> struct cmd_obj *ph2c;
> - struct addBaReq_parm *paddbareq_parm;
> + struct add_ba_req_parm *padd_ba_req_parm;
>
> u8 res = _SUCCESS;
>
> @@ -1896,7 +1896,7 @@ void rtw_createbss_cmd_callback(struct adapter
> *padapter, struct cmd_obj *pcmd)
> rtw_free_cmd_obj(pcmd);
> }
>
> -void rtw_setstaKey_cmdrsp_callback(struct adapter *padapter, struct
> cmd_obj *pcmd)
> +void rtw_set_sta_key_cmdrsp_callback(struct adapter *padapter, struct
> cmd_obj *pcmd)
> {
> struct sta_priv *pstapriv = &padapter->stapriv;
> struct set_stakey_rsp *psetstakey_rsp = (struct set_stakey_rsp
> *)(pcmd->rsp);
> --
> 2.47.3
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- Your patch is malformed (tabs converted to spaces, linewrapped, etc.)
and can not be applied. Please read the file,
Documentation/process/email-clients.rst in order to fix this.
- Your patch does not have a Signed-off-by: line. Please read the
kernel file, Documentation/process/submitting-patches.rst and resend
it after adding that line. Note, the line needs to be in the body of
the email, before the patch, not at the bottom of the patch or in the
email signature.
- You did not specify a description of why the patch is needed, or
possibly, any description at all, in the email body. Please read the
section entitled "The canonical patch format" in the kernel file,
Documentation/process/submitting-patches.rst for what is needed in
order to properly describe the change.
- You did not write a descriptive Subject: for the patch, allowing Greg,
and everyone else, to know what this patch is all about. Please read
the section entitled "The canonical patch format" in the kernel file,
Documentation/process/submitting-patches.rst for what a proper
Subject: line should look like.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
next parent reply other threads:[~2026-10-01 5:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CACzRdUFuF+CrcLSJKH5jL9ief_Hwx7q1vveqgbnm2B3N7WNmWQ@mail.gmail.com>
2026-10-01 5:37 ` Greg KH [this message]
[not found] <CADEyfAnW9Up9sJR_tKw8aGUPZL_9KRrZ1MAwZih0Dgm0M25M4A@mail.gmail.com>
2026-10-01 5:37 ` [PATCH] staging: rtl8723bs: rtw_cmd.c: convert CamelCase structs and callbacks to snake_case Greg KH
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=2026100158-cobbler-unwanted-0e6a@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=linux-staging@lists.linux.dev \
--cc=yigitmehmetcintay2@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