From: "Ethan Tidmore" <ethantidmore06@gmail.com>
To: "Fu Zang" <t1468150755@163.com>, <gregkh@linuxfoundation.org>
Cc: <linux-staging@lists.linux.dev>, <linux-kernel@vger.kernel.org>,
"Fu Zang" <t1468150755@gmail.com>
Subject: Re: [PATCH] staging: rtl8723bs: replace msleep with usleep_range for small delays
Date: Fri, 30 Jan 2026 20:37:59 -0600 [thread overview]
Message-ID: <DG2FC84E7CA1.2L8B6329T2UFL@gmail.com> (raw)
In-Reply-To: <20260130130803.42858-1-t1468150755@163.com>
On Fri Jan 30, 2026 at 7:08 AM CST, Fu Zang wrote:
> From: Fu Zang <t1468150755@gmail.com>
>
> The msleep() function is not recommended for delays shorter than 20ms
> as it may sleep considerably longer than requested.
>
> This patch replaces msleep(10) with usleep_range(10000, 11000) to
> provide more precise delay control while allowing the timer subsystem
> to coalesce wakeups.
>
> Found by checkpatch.pl.
>
> Signed-off-by: Fu Zang <t1468150755@gmail.com>
Apologies, I used the wrong tag in my previous response. I intended to provide a Reviewed-by tag for this patch.
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
next prev parent reply other threads:[~2026-01-31 2:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-30 13:08 [PATCH] staging: rtl8723bs: replace msleep with usleep_range for small delays Fu Zang
2026-01-31 2:00 ` Ethan Tidmore
2026-01-31 2:37 ` Ethan Tidmore [this message]
2026-02-07 12:08 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DG2FC84E7CA1.2L8B6329T2UFL@gmail.com \
--to=ethantidmore06@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=t1468150755@163.com \
--cc=t1468150755@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox