Note that checkpatch fails on this patch with the following warning,
but I'm not sure how to resolve it.

Nothing else in the U-Boot code base seems to use __align() although
it's defined in include/linux/compiler-gcc.h.

#46: FILE: fs/fat/fat.c:432:
+__attribute__ ((__aligned__ (ARCH_DMA_MINALIGN)))

WARNING: __aligned(size) is preferred over __attribute__((aligned(size)))
#46: FILE: fs/fat/fat.c:432:
+__attribute__ ((__aligned__ (ARCH_DMA_MINALIGN)))

total: 0 errors, 2 warnings, 47 lines checked
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to