The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: Replace __attribute__((__packed__)) with __packed in rtl8723b_hal.h
@ 2026-05-10 11:03 Pramod Maurya
  0 siblings, 0 replies; only message in thread
From: Pramod Maurya @ 2026-05-10 11:03 UTC (permalink / raw)
  To: gregkh
  Cc: linux-staging, linux-kernel, pramod.nexgen, Michael Straube,
	Oskar Ray-Frayssinet, Ethan Tidmore, Samasth Norway Ananda

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

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-10 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-10 11:03 [PATCH] staging: rtl8723bs: Replace __attribute__((__packed__)) with __packed in rtl8723b_hal.h Pramod Maurya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox