Re: [dpdk-dev] [PATCH] checkpatches: suppress warning about strlcpy

2021-09-13 Thread Bruce Richardson
On Fri, Sep 10, 2021 at 10:54:43AM -0700, Stephen Hemminger wrote: > Latest versions of Linux kernel checkpatch now complain about > uses of strlcpy (kernel perfers strcspy). > > WARNING:STRLCPY: Prefer strscpy over strlcpy > > But DPDK does not have strcspy so suppress the warning.

[dpdk-dev] [PATCH] checkpatches: suppress warning about strlcpy

2021-09-10 Thread Stephen Hemminger
Latest versions of Linux kernel checkpatch now complain about uses of strlcpy (kernel perfers strcspy). WARNING:STRLCPY: Prefer strscpy over strlcpy But DPDK does not have strcspy so suppress the warning. Signed-off-by: Stephen Hemminger --- devtools/checkpatches.sh | 2 +- 1 file changed, 1 i