From: Kim Phillips Date: Thu, 17 Jan 2013 00:09:11 +0000 (-0600) Subject: net: make IPaddr type big endian X-Git-Tag: v2013.07-rc2~57^2~15 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=3d49412d5626eebdfca78dcaec7d817b45d6f03e;hp=1b8c18b9716c6991237b24cff3d38075d930c0d7 net: make IPaddr type big endian for use with sparse. Signed-off-by: Kim Phillips Cc: Joe Hershberger --- diff --git a/include/net.h b/include/net.h index 23fb947292..7673470046 100644 --- a/include/net.h +++ b/include/net.h @@ -39,7 +39,7 @@ #define PKTALIGN ARCH_DMA_MINALIGN /* IPv4 addresses are always 32 bits in size */ -typedef u32 IPaddr_t; +typedef __be32 IPaddr_t; /**