]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: Replace __attribute__((__packed__)) with __packed in rtl8723b_hal.h
authorPramod Maurya <pramod.nexgen@gmail.com>
Sun, 10 May 2026 11:03:34 +0000 (07:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 May 2026 08:09:07 +0000 (10:09 +0200)
Replace __attribute__((__packed__)) with the preferred __packed macro
to fix a checkpatch.pl warning.

Signed-off-by: Pramod Maurya <pramod.nexgen@gmail.com>
Link: https://patch.msgid.link/20260510110338.98540-1-pramod.nexgen@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtl8723b_hal.h

index 8e04e6a4cb010b600f011a7a27c2b06e5fb0e46e..b6006110ad6b04dbeb257025fcafca8eaa46e069 100644 (file)
@@ -170,7 +170,7 @@ struct c2h_evt_hdr_t {
        u8 CmdID;
        u8 CmdLen;
        u8 CmdSeq;
-} __attribute__((__packed__));
+} __packed;
 
 enum { /* tag_Package_Definition */
        PACKAGE_DEFAULT,