From: Sven Schnelle Date: Tue, 29 Nov 2022 10:49:23 +0000 (+0100) Subject: s390/raw3270: use __packed instead of __attribute__((packed)) X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=562baff57754240236eb5103ed6062d5fca67268;p=linux.git s390/raw3270: use __packed instead of __attribute__((packed)) Signed-off-by: Sven Schnelle Acked-by: Heiko Carstens Tested-by: Niklas Schnelle Signed-off-by: Heiko Carstens --- diff --git a/drivers/s390/char/raw3270.c b/drivers/s390/char/raw3270.c index dfb4ec150797a..f1a817cfe624e 100644 --- a/drivers/s390/char/raw3270.c +++ b/drivers/s390/char/raw3270.c @@ -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) {