Messages in this thread | | | Date | Fri, 28 Jun 2013 11:09:33 -0300 | Subject | Re: [PATCH 5/5] imx-drm: ipu-dp: Adjust the maximum number of flows | From | Fabio Estevam <> |
| |
Hi Philipp,
On Fri, Jun 28, 2013 at 10:53 AM, Philipp Zabel <p.zabel@pengutronix.de> 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
| |