On Thu, 25 Oct 2012, Jon Hunter wrote:

> > +           if (!pdata->read_reset_sources)
> > +                   return put_user(0, (int __user *)arg);
> 
> In the case of booting with device-tree, pdata could be null and so
> should we check for this too? In other words ...
> 
> +             if (!pdata || !pdata->read_reset_sources)
> +                     return put_user(0, (int __user *)arg);

Thanks, good catch, will integrate that fix.


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to