From: Junrui Luo <moonafterrain@outlook.com>
To: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>,
Teddy Wang <teddy.wang@siliconmotion.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"linux-fbdev@vger.kernel.org" <linux-fbdev@vger.kernel.org>,
"linux-staging@lists.linux.dev" <linux-staging@lists.linux.dev>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Yuhao Jiang <danisjiang@gmail.com>,
"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: [PATCH] staging: sm750fb: fix division by zero in ps_to_hz()
Date: Tue, 24 Mar 2026 06:41:45 +0000 [thread overview]
Message-ID: <31686C37-FAD7-4E47-A75D-F76DF88A4EBF@outlook.com> (raw)
In-Reply-To: <acD6pMfM9XjTXdhf@stanley.mountain>
On Mon, Mar 23, 2026 at 11:32:36AM +0300, Dan Carpenter wrote:
> Seems reasonable.
>
> There is no Closes tag. Could we get some more information about how
> this was found and tested?
Hi Dan,
Thanks for the review.
This was found through static analysis by Yuhao Jiang.
I don't have SM750 hardware to test on, but verified by code inspection
that the fix is consistent with how other fbdev drivers handle this case.
There is no bug tracker entry for this, so no Closes tag.
Thanks,
Junrui Luo
prev parent reply other threads:[~2026-03-24 6:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-23 7:31 [PATCH] staging: sm750fb: fix division by zero in ps_to_hz() Junrui Luo
2026-03-23 8:32 ` Dan Carpenter
2026-03-24 6:41 ` Junrui Luo [this message]
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=31686C37-FAD7-4E47-A75D-F76DF88A4EBF@outlook.com \
--to=moonafterrain@outlook.com \
--cc=dan.carpenter@linaro.org \
--cc=danisjiang@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=stable@vger.kernel.org \
--cc=sudipm.mukherjee@gmail.com \
--cc=teddy.wang@siliconmotion.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