[U-Boot] [PATCH v2] include/linux/byteorder: Always defines __fswab64, __swab64p and __swab64s

Nobuhiro Iwamatsu nobuhiro.iwamatsu.yj at renesas.com
Fri Nov 30 06:58:25 CET 2012


Hi,  Tom.

Could you pick this patch?

Best regards,
  Nobuhiro

On Fri, Nov 16, 2012 at 9:49 AM, Kim Phillips
<kim.phillips at freescale.com> wrote:
> 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
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot



-- 
Nobuhiro Iwamatsu


More information about the U-Boot mailing list