[PATCH v3] checkpatches: suppress warning about strlcpy
Thomas Monjalon
thomas at monjalon.net
Fri Nov 26 11:15:00 CET 2021
16/11/2021 00:26, Stephen Hemminger:
> Current version of Linux kernel checkpatch now complains about
> usages of strlcpy because the Linux kernel prefers strcspy.
>
> WARNING:STRLCPY: Prefer strscpy over strlcpy
>
> But DPDK project allows strlcpy, therefore suppress the warning.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> v3 - yet another commit message typo
There is yet another typo that I fixed: strcspy -> strscpy
Applied, thanks.
More information about the dev
mailing list