1
0
Fork 0

Staging: emxx_udc: Convert from __attribute__((aligned(size))) to __aligned(size)

This patch addresses the checkpatch.pl warning
WARNING: __aligned(size) is preferred over __attribute__((aligned(size)))

aligned(x) is a macro :
#define __aligned(x)                   __attribute__((aligned(x)))

Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Vatika Harlalka 2015-02-17 20:20:54 +05:30 committed by Greg Kroah-Hartman
parent 4a0721bf84
commit ce5aebd678
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ typedef struct _T_FC_REGS {
u8 Reserved1200[0x1000-0x200]; /* Reserved */
} __attribute__ ((aligned(32))) T_FC_REGS, *PT_FC_REGS;
} __aligned(32) T_FC_REGS, *PT_FC_REGS;