From: "Hüseyin Can Erdem" <erdemhuseyincan09@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
"Hüseyin Can Erdem" <erdemhuseyincan09@gmail.com>
Subject: [PATCH 1/2] staging: rtl8723bs: replace __attribute__((__packed__)) with __packed
Date: Wed, 18 Mar 2026 18:35:14 +0300 [thread overview]
Message-ID: <20260318153515.5071-1-erdemhuseyincan09@gmail.com> (raw)
In-Reply-To: <2026031807-june-stress-0ba7@gregkh>
Replace __attribute__((__packed__)) with the preferred __packed macro
for consistency with kernel coding style.
Signed-off-by: Hüseyin Can Erdem <erdemhuseyincan09@gmail.com>
---
drivers/staging/rtl8723bs/include/rtl8723b_hal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/rtl8723b_hal.h b/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
index 7ec84304a..32a93653b 100644
--- a/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
+++ b/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
@@ -171,7 +171,7 @@ struct c2h_evt_hdr_t {
u8 CmdID;
u8 CmdLen;
u8 CmdSeq;
-} __attribute__((__packed__));
+} __packed;
enum { /* tag_Package_Definition */
PACKAGE_DEFAULT,
--
2.47.3
next prev parent reply other threads:[~2026-03-18 15:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-18 15:01 [PATCH v3] staging: rtl8723bs: fix code style issues in rtl8723b_hal.h Hüseyin Can Erdem
2026-03-18 15:12 ` Greg KH
2026-03-18 15:35 ` Hüseyin Can Erdem [this message]
2026-03-18 15:35 ` [PATCH 2/2] staging: rtl8723bs: add parentheses around macro arguments Hüseyin Can Erdem
2026-03-18 15:59 ` 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=20260318153515.5071-1-erdemhuseyincan09@gmail.com \
--to=erdemhuseyincan09@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
all inboxes | Powered by JetHome®