Hi,

The code crashed for me on Nokia N900. I found the following
problem:

On Thu, Mar 26, 2015 at 12:57:38AM +0200, Sakari Ailus wrote:
> [...]
> +static int isp_of_parse_nodes(struct device *dev,
> +                           struct v4l2_async_notifier *notifier)
> +{
> +     struct device_node *node;

struct device_node *node = NULL;

to avoid feeding a random pointer into of_graph_get_next_endpoint():

> [...]
> +     while (notifier->num_subdevs < ISP_MAX_SUBDEVS &&
> +            (node = of_graph_get_next_endpoint(dev->of_node, node))) {
> [...]

-- Sebastian

Attachment: signature.asc
Description: Digital signature

Reply via email to