lkml.org 
[lkml]   [2015]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] h8300: Fix build error due to missing word-at-a-time.h
From
Date
On 10/07/2015 06:41 AM, Chris Metcalf wrote:
> On 10/06/2015 01:32 AM, Guenter Roeck wrote:
>> h8300 builds fail with
>>
>> lib/string.c:31:32: fatal error: asm/word-at-a-time.h: No such file or directory
>>
>> Fixes: 30035e45753b ("string: provide strscpy()")
>> Cc: Chris Metcalf <cmetcalf@ezchip.com>
>> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>> ---
>> arch/h8300/include/asm/Kbuild | 1 +
>> 1 file changed, 1 insertion(+)
>
> Acked-by: Chris Metcalf <cmetcalf@ezchip.com>
>

lib/string.c: In function 'strscpy':
lib/string.c:209:4: error: implicit declaration of function 'zero_bytemask' [-Werror=implicit-function-declaration]
*(unsigned long *)(dest+res) = c & zero_bytemask(data);

Now seen upstream for all powerpc builds. Seems to be due to
'strscpy: zero any trailing garbage bytes in the destination'.

Guenter



\
 
 \ /
  Last update: 2015-10-07 19:01    [W:0.117 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site