From: Takashi Sakamoto Date: Wed, 14 Aug 2024 13:12:20 +0000 (+0900) Subject: firewire: ohci: use helper macro for compiler aligned attribute X-Git-Tag: v6.12-rc1~95^2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56a4832c9f2e46e380ee1979a02f44b115598bf3;p=thirdparty%2Fkernel%2Flinux.git firewire: ohci: use helper macro for compiler aligned attribute The __aligned() macro has been available since v4.19 kernel by a commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"). This commit replaces with the macro. Link: https://lore.kernel.org/r/20240814131222.69949-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto --- diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index e1d24e0ec991b..198c96d75155b 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c @@ -77,7 +77,7 @@ struct descriptor { __le32 branch_address; __le16 res_count; __le16 transfer_status; -} __attribute__((aligned(16))); +} __aligned(16); #define CONTROL_SET(regs) (regs) #define CONTROL_CLEAR(regs) ((regs) + 4)