]> err.no Git - linux-2.6/commit
[BYTEORDER]: Document alignment and byteorder macros
authorEd L. Cashin <ecashin@coraid.com>
Tue, 20 Sep 2005 02:57:36 +0000 (19:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2005 02:57:36 +0000 (19:57 -0700)
commite0487992ce1dd7ae7da9c6aabdb19570bb95432b
treea2d748df1ae99d8f9e6c8e6055e9ef9a3153d1cf
parentff171d8f66a7fe1a000e610e9de11224749f9a22
[BYTEORDER]: Document alignment and byteorder macros

This patch comments the fact that although passing le64_to_cpup et
al. is within the intended use of the byteorder macros, using
get_unaligned is the recommended way to go.

Signed-off-by: Ed L. Cashin <ecashin@coraid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/byteorder/generic.h