Re: tty, vt: lockdep warnings

From: BjÃrn Mork
Date: Wed Nov 07 2012 - 11:16:10 EST


Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> writes:

> +
> +static int bind_con_driver(const struct consw *csw, int first, int last,
> + int deflt)
> +{
> + int ret;
> +
> + console_unlock();

console_lock() maybe...

> + ret = do_bind_con_driver(csw, first, last, deflt);
> + console_unlock();
> + return ret;
> +}
> +


BjÃrn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/