Re: [PATCH v3 2/2] staging: rtl8723bs: Replace msleep() with fsleep()
From: Ethan Tidmore
Date: Sun Mar 15 2026 - 13:34:59 EST
On Sat Mar 14, 2026 at 9:09 PM CDT, Marcos Andrade wrote:
> Replace msleep(10) with fsleep(10 * USEC_PER_MSEC) in _rtw_init_xmit_priv().
> fsleep() is the new standard API for delays, as it automatically chooses
> the best sleep method based on the duration.
>
> Suggested-by: Ethan Tidmore <ethantidmore06@xxxxxxxxx>
> Signed-off-by: Marcos Andrade <marcosandrade95963@xxxxxxxxx>
> ---
$ ./scripts/checkpatch.pl --strict -g HEAD
WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#6:
Replace msleep(10) with fsleep(10 * USEC_PER_MSEC) in _rtw_init_xmit_priv().
Remember to always run "./scripts/checkpatch.pl --strict <patch>" before
sending a patch off to catch things like this.
Thanks,
ET