From: Eric Nelson Date: Sat, 3 Mar 2012 15:05:37 -0700 Subject: [U-Boot] fs/fat alignment Message-ID: <1330812338-25820-1-git-send-email-eric.nelson@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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