From: Guenter Roeck <linux@roeck-us.net>
To: Chris Metcalf <cmetcalf@ezchip.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] h8300: Fix build error due to missing word-at-a-time.h
Date: Wed, 7 Oct 2015 09:35:34 -0700 [thread overview]
Message-ID: <561549D6.1020506@roeck-us.net> (raw)
In-Reply-To: <56152101.5020108@ezchip.com>
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
next prev parent reply other threads:[~2015-10-07 16:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-06 5:32 Guenter Roeck
2015-10-07 13:41 ` Chris Metcalf
2015-10-07 16:35 ` Guenter Roeck [this message]
2015-10-07 17:03 ` Chris Metcalf
2015-10-08 7:49 ` Yoshinori Sato
2015-10-08 12:36 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=561549D6.1020506@roeck-us.net \
--to=linux@roeck-us.net \
--cc=cmetcalf@ezchip.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome