Em 20-08-2011 04:37, Chris Rankin escreveu:
> +
> +             if (dev->state & DEV_DISCONNECTED) {
> +                     /* We cannot tell the device to sleep
> +                      * once it has been unplugged. */
> +                     prevent_sleep(&dvb->fe[0]->ops);
> +                     prevent_sleep(&dvb->fe[1]->ops);

This will cause an OOPS if dvb->fe[n] == NULL.

> +             }
> +

--
To unsubscribe from this list: send the line "unsubscribe linux-media" 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