[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <561549D6.1020506@roeck-us.net>
Date: Wed, 7 Oct 2015 09:35:34 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Chris Metcalf <cmetcalf@...hip.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] h8300: Fix build error due to missing word-at-a-time.h
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@...hip.com>
>> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
>> ---
>> arch/h8300/include/asm/Kbuild | 1 +
>> 1 file changed, 1 insertion(+)
>
> Acked-by: Chris Metcalf <cmetcalf@...hip.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists