diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2022-11-29 13:49:23 +0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-09 16:33:57 +0300 |
commit | 562baff57754240236eb5103ed6062d5fca67268 (patch) | |
tree | 0774ad44820549f7493d993efa726926f376625b /drivers/s390/char/raw3270.c | |
parent | 65b77ccb1e292d3d2407bbe225995d7c4c39e721 (diff) | |
download | linux-562baff57754240236eb5103ed6062d5fca67268.tar.xz |
s390/raw3270: use __packed instead of __attribute__((packed))
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>
Diffstat (limited to 'drivers/s390/char/raw3270.c')
-rw-r--r-- | drivers/s390/char/raw3270.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/char/raw3270.c b/drivers/s390/char/raw3270.c index dfb4ec150797..f1a817cfe624 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) { |