From: Malavya Raval <malavyaraval@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
MalavyaRaval <malavyaraval@gmail.com>
Subject: [PATCH] staging: rtl8723bs: Break long lines in rtw_sta_mgt.c
Date: Wed, 18 Mar 2026 19:48:07 -0700 [thread overview]
Message-ID: <20260319024807.7755-1-malavyaraval@gmail.com> (raw)
From: MalavyaRaval <malavyaraval@gmail.com>
Split long lines in rtw_sta_mgt.c to adhere to kernel coding style.
Signed-off-by: MalavyaRaval <malavyaraval@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c b/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c
index 9d222ae87d79..40a1dc9658c8 100644
--- a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c
+++ b/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c
@@ -54,7 +54,8 @@ u32 _rtw_init_sta_priv(struct sta_priv *pstapriv)
struct sta_info *psta;
s32 i;
- pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA + 4);
+ pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(*pstapriv->pallocated_stainfo_buf) *
+ NUM_STA + 4);
if (!pstapriv->pallocated_stainfo_buf)
return _FAIL;
@@ -105,7 +106,8 @@ u32 _rtw_init_sta_priv(struct sta_priv *pstapriv)
inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta)
{
- int offset = (((u8 *)sta) - stapriv->pstainfo_buf) / sizeof(struct sta_info);
+ int offset = (((u8 *)sta) - stapriv->pstainfo_buf) /
+ sizeof(struct sta_info);
return offset;
}
--
2.43.0
next reply other threads:[~2026-03-19 2:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-19 2:48 Malavya Raval [this message]
2026-03-19 8:39 ` [PATCH] staging: rtl8723bs: Break long lines in rtw_sta_mgt.c Luka Gejak
-- strict thread matches above, loose matches on Subject: below --
2026-03-19 17:42 [PATCH] staging: rtl8723bs: break " MalavyaRaval
2026-03-19 18:58 ` Ethan Tidmore
2026-03-19 18:59 ` Ethan Tidmore
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=20260319024807.7755-1-malavyaraval@gmail.com \
--to=malavyaraval@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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