Skip to contentSkip to conversation

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

PATCH Superseded Pramod Maurya 1 participant 1 message May 10 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: Replace __attribute__((__packed__)) with __packed in rtl8723b_hal.h

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

---
 drivers/staging/rtl8723bs/include/rtl8723b_hal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/include/rtl8723b_hal.h +1 -1
index ffd03927841c..cb164122c8ab 100644
@@ -171,7 +171,7 @@ struct c2h_evt_hdr_t {
 	u8 CmdID;
 	u8 CmdLen;
 	u8 CmdSeq;
-} __attribute__((__packed__));
+} __packed;
 
 enum { /* tag_Package_Definition */
 	PACKAGE_DEFAULT,
Signature · 1 line
2.52.0