Re: [PATCH 5/5] imx-drm: ipu-dp: Adjust the maximum number of flows
From: Fabio Estevam
Date: Fri Jun 28 2013 - 10:09:38 EST
Hi Philipp,
On Fri, Jun 28, 2013 at 10:53 AM, Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> wrote:
>
> If (flow == IPUV3_NUM_FLOWS << 1), this will continue and try to access
> &priv->flow[3] below, which is invalid. How about
>
> + if ((flow >> 1) >= IPUV3_NUM_FLOWS)
>
> instead?
Yes, agreed.
Thanks,
Fabio Estevam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/