linux-next/drivers/gpu/drm/rockchip/dw-mipi-dsi.c:470: poor error checking ?
Hello there,
[linux-next/drivers/gpu/drm/rockchip/dw-mipi-dsi.c:470]: (style) Checking if unsigned variable 'bpp' is less than zero.
bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); if (bpp < 0) {
but
unsigned int bpp, i, pre;
Suggest code rework.
Regards
David Binderman
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel