[PATCH] staging: rtl8723bs: Replace __attribute__((__packed__)) with __packed in rtl8723b_hal.h

From: Pramod Maurya

Date: Sun May 10 2026 - 07:04:17 EST


Replace __attribute__((__packed__)) with the preferred __packed macro
to fix a checkpatch.pl warning.

Signed-off-by: Pramod Maurya <pramod.nexgen@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 ffd03927841c..cb164122c8ab 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.52.0