Re: [PATCH] drm/mgag200: fix a test in mga_vga_mode_valid()

2018-01-30 Thread Daniel Vetter
On Thu, Jan 25, 2018 at 05:26:55PM +0300, Dan Carpenter wrote: > The parentheses are in the wrong place here so we pass the bits per > pixel as zero. > > Fixes: abbee6238775 ("drm/mgag200: Added resolution and bandwidth limits for > various G200e products.") > Signed-off-by: Dan Carpenter > ---

[PATCH] drm/mgag200: fix a test in mga_vga_mode_valid()

2018-01-25 Thread Dan Carpenter
The parentheses are in the wrong place here so we pass the bits per pixel as zero. Fixes: abbee6238775 ("drm/mgag200: Added resolution and bandwidth limits for various G200e products.") Signed-off-by: Dan Carpenter --- Static analysis. Not tested. diff --git a/drivers/gpu/drm/mgag200/mgag200_m