Re: [PATCH] h8300: Fix build error due to missing word-at-a-time.h

From: Chris Metcalf
Date: Wed Oct 07 2015 - 13:04:16 EST


On 10/7/2015 12:35 PM, Guenter Roeck wrote:
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'.

See:

http://lkml.kernel.org/r/1444229188-19640-1-git-send-email-cmetcalf@xxxxxxxxxx

--
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/