[U-Boot] fs/fat alignment

Eric Nelson eric.nelson at boundarydevices.com
Sat Mar 3 23:05:37 CET 2012


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


More information about the U-Boot mailing list