public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] fs/fat alignment
@ 2012-03-03 22:05 Eric Nelson
  2012-03-03 22:05 ` [U-Boot] fs/fat: align disk buffers on cache line to enable DMA and cache Eric Nelson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eric Nelson @ 2012-03-03 22:05 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-04  0:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 22:05 [U-Boot] fs/fat alignment Eric Nelson
2012-03-03 22:05 ` [U-Boot] fs/fat: align disk buffers on cache line to enable DMA and cache Eric Nelson
2012-03-03 23:14   ` Mike Frysinger
2012-03-03 23:14 ` [U-Boot] fs/fat alignment Mike Frysinger
2012-03-03 23:50 ` Wolfgang Denk
2012-03-04  0:54   ` Eric Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox