[U-Boot] [PATCH v2] include/linux/byteorder: Always defines __fswab64, __swab64p and __swab64s
Kim Phillips
kim.phillips at freescale.com
Fri Nov 16 01:49:34 CET 2012
On Thu, 15 Nov 2012 16:35:26 +0900
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com> wrote:
> When __BYTEORDER_HAS_U64__ is not defined, we got warning following:
>
> -----
> /tmp/include/linux/byteorder/little_endian.h: In function ‘__cpu_to_be64p’:
> /tmp/include/linux/byteorder/little_endian.h:71:2: warning: implicit declaration of function ‘__swab64p’
> [-Wimplicit-function-declaration]
> -----
>
> Usually, __arch__swab64* required for __fswab64, __swab64p and __swab64s
> is defined. Therefore, __BYTEORDER_HAS_U64__ is unnecessary.
> This removes __BYTEORDER_HAS_U64__.
>
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
> CC: Kim Phillips <kim.phillips at freescale.com>
> ---
> v2: Fix mail address.
Reviewed-by: Kim Phillips <kim.phillips at freescale.com>
Kim
More information about the U-Boot
mailing list