Hi Philipp, On Fri, Jun 28, 2013 at 10:53 AM, Philipp Zabel <p.za...@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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/