On Wed, Feb 08, 2017 at 06:53:08PM +0100, Johan Hovold wrote:
> Since commit 4a510969374a ("tty: Make tty_files_lock per-tty") a new
> tty_struct spin lock is taken in the tty release path, but the
> USB-serial-console hack was never updated hence leaving the lock of its
> "fake" tty uninitialised. This was eventually detected by lockdep.
>
> Make sure to initialise the new lock also for the fake tty to address
> this regression.
>
> Yes, this code is a mess, but cleaning it up is left for another day.
>
> Fixes: 4a510969374a ("tty: Make tty_files_lock per-tty")
> Cc: stable <[email protected]> # 4.6
> Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html