Re: [PATCH] staging: sm750fb: fix division by zero in ps_to_hz()

From: Junrui Luo

Date: Tue Mar 24 2026 - 03:09:48 EST


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