; Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; Adam
> > Jackson ; Dave Airlie ; Daniel Vetter
> >
> > Subject: Re: [PATCH] drm/modes: Prevent division by zero htotal
> >
> > On Wed, Jan 23, 2019 at 03:28:59PM +0800, Tina Zhang wrote:
> >
ie ; Daniel Vetter
>
> Subject: Re: [PATCH] drm/modes: Prevent division by zero htotal
>
> On Wed, Jan 23, 2019 at 03:28:59PM +0800, Tina Zhang wrote:
> > This patch prevents division by zero htotal.
>
> How did you manage to get here with htotal == 0? This needs backtraces (or
On Wed, Jan 23, 2019 at 03:28:59PM +0800, Tina Zhang wrote:
> This patch prevents division by zero htotal.
How did you manage to get here with htotal == 0? This needs backtraces
(or if this is just about static checkers, a mention of that).
-Daniel
>
> Signed-off-by: Tina Zhang
> Cc: Adam Jacks
This patch prevents division by zero htotal.
Signed-off-by: Tina Zhang
Cc: Adam Jackson
Cc: Dave Airlie
Cc: Daniel Vetter
---
drivers/gpu/drm/drm_modes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index adce9a2