s390/raw3270: use __packed instead of __attribute__((packed))
authorSven Schnelle <svens@linux.ibm.com>
Tue, 29 Nov 2022 10:49:23 +0000 (11:49 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:33:57 +0000 (14:33 +0100)
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/raw3270.c

index dfb4ec150797ae380b25d4434f6a18d711fbac18..f1a817cfe624ef83f9d14037f2144c6f1eae553b 100644 (file)
@@ -385,7 +385,7 @@ struct raw3270_ua { /* Query Reply structure for Usable Area */
                char  ymin;
                char  xmax;
                char  ymax;
-       } __attribute__ ((packed)) uab;
+       } __packed uab;
        struct {        /* Alternate Usable Area Self-Defining Parameter */
                char  l;        /* Length of this Self-Defining Parm */
                char  sdpid;    /* 0x02 if Alternate Usable Area */
@@ -398,8 +398,8 @@ struct raw3270_ua { /* Query Reply structure for Usable Area */
                int   auayr;
                char  awauai;
                char  ahauai;
-       } __attribute__ ((packed)) aua;
-} __attribute__ ((packed));
+       } __packed aua;
+} __packed;
 
 static void raw3270_size_device_vm(struct raw3270 *rp)
 {