On 03/09/2019 18:12, Laurent Pinchart wrote:

@@ -2498,6 +2499,19 @@ static int dispc_ovl_calc_scaling(struct dispc_device 
*dispc,
        if (width == out_width && height == out_height)
                return 0;
+ if (dispc->feat->supported_scaler_color_modes) {
+               const u32 *modes = dispc->feat->supported_scaler_color_modes;
+               int i;

i is never negative and can thus be an unsigned int. Apart from that,

Thanks, fixed that.

 Tomi

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to