[U-Boot] [PATCH 1/3] mtd: onenand: Fix unaligned access

Rommel G Custodio sessyargc at gmail.com
Fri Dec 27 00:23:20 CET 2013


Dear Marek Vasut,

Marek Vasut <marex <at> denx.de> writes:

> +/*
> + * Warning! This array is used with the memcpy_16() function, thus
> + * it must be aligned to 2 bytes. GCC can make this array unaligned
> + * as the array is made of unsigned char, which memcpy16() doesn't
> + * like and will cause unaligned access.
> + */

This is just really a nitpick but memcpy16() -> memcpy_16().

All the best,
Rommel






More information about the U-Boot mailing list