Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Vatika Harlalka and committed by
Greg Kroah-Hartman
ce5aebd6 4a0721bf

+1 -1
+1 -1
drivers/staging/emxx_udc/emxx_udc.h
··· 535 535 536 536 u8 Reserved1200[0x1000-0x200]; /* Reserved */ 537 537 538 - } __attribute__ ((aligned(32))) T_FC_REGS, *PT_FC_REGS; 538 + } __aligned(32) T_FC_REGS, *PT_FC_REGS; 539 539 540 540 541 541