[oe] [meta-oe][PATCH] libkcapi: Add new recipe for v1.1.1
Krzysztof Kozlowski
krzk at kernel.org
Thu Jul 12 06:46:17 UTC 2018
On 11 July 2018 at 18:06, Khem Raj <raj.khem at gmail.com> wrote:
> This fails for mips/musl builds
>
> | ../git/lib/kcapi-kernel-if.c: In function '__kcapi_common_getinfo.isra.2':
> | ../git/lib/kcapi-kernel-if.c:632:3: error: 'strncpy' output
> truncated before terminating nul copying as many bytes from a string
> as its length [-Werror=stringop-truncation]
> | strncpy(req.cru.cru_name, ciphername, strlen(ciphername));
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | ../git/lib/kcapi-kernel-if.c:629:3: error: 'strncpy' output
> truncated before terminating nul copying as many bytes from a string
> as its length [-Werror=stringop-truncation]
> | strncpy(req.cru.cru_driver_name, ciphername,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | strlen(ciphername));
> | ~~~~~~~~~~~~~~~~~~~
> | cc1: all warnings being treated as errors
> | make: *** [lib/libkcapi_la-kcapi-kernel-if.lo] Error 1
Thanks for letting me know. I'll take a look and fix it.
Best regards,
Krzysztof
More information about the Openembedded-devel
mailing list