s390/diag: use __packed __aligned
authorSven Schnelle <svens@linux.ibm.com>
Mon, 5 Dec 2022 14:20:46 +0000 (15:20 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:05 +0000 (14:34 +0100)
Use __packed __aligned instead of __attribute__((packed, aligned(X)));
to match the rest of the file.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/diag.h

index 9488b7ffb21cf875e9bd7509fcb4c21e3ca796d0..674a939f16ee6fb1f8f2f4e3efd76662aa375a35 100644 (file)
@@ -81,7 +81,7 @@ struct diag210 {
        u8 vrdccrty;    /* real device type (output) */
        u8 vrdccrmd;    /* real device model (output) */
        u8 vrdccrft;    /* real device feature (output) */
-} __attribute__((packed, aligned(4)));
+} __packed __aligned(4);
 
 extern int diag210(struct diag210 *addr);