[PATCH 1/2] staging: rtl8723bs: replace __attribute__((__packed__)) with __packed

From: Hüseyin Can Erdem

Date: Wed Mar 18 2026 - 11:36:09 EST


Replace __attribute__((__packed__)) with the preferred __packed macro
for consistency with kernel coding style.

Signed-off-by: Hüseyin Can Erdem <erdemhuseyincan09@xxxxxxxxx>
---
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