[PATCH] checkpatches: suppress warnings about msleep()
Thomas Monjalon
thomas at monjalon.net
Sun Jul 12 18:26:20 CEST 2026
24/06/2026 18:25, Stephen Hemminger:
> The DPDK checkpatch uses the underlying kernel tool which
> does some checks that are only relevant in kernel code.
> The warning about msleep() time only makes sense in the
> kernel.
>
> Suppress feedback like:
>
> WARNING:MSLEEP: msleep < 20ms can sleep for up to 20ms; see function description of msleep().
> + msleep(10);
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Applied, thanks.
More information about the dev
mailing list