TPM: Switch to __packed instead of __attribute__((packed))
This seems to be preferred these days. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Reviewed-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
This commit is contained in:

committed by
Kent Yoder

parent
c584af1926
commit
348df8db30
@@ -33,13 +33,13 @@ struct acpi_tcpa {
|
||||
u16 platform_class;
|
||||
union {
|
||||
struct client_hdr {
|
||||
u32 log_max_len __attribute__ ((packed));
|
||||
u64 log_start_addr __attribute__ ((packed));
|
||||
u32 log_max_len __packed;
|
||||
u64 log_start_addr __packed;
|
||||
} client;
|
||||
struct server_hdr {
|
||||
u16 reserved;
|
||||
u64 log_max_len __attribute__ ((packed));
|
||||
u64 log_start_addr __attribute__ ((packed));
|
||||
u64 log_max_len __packed;
|
||||
u64 log_start_addr __packed;
|
||||
} server;
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user