Re: [PATCH] tty_io: Fix a missing-check bug in drivers/tty/tty_io.c
From
Jiri Slaby <>
Date
Wed, 22 May 2019 12:32:37 +0200
On 22. 05. 19, 12:29, Johan Hovold wrote: >> Sure, but can class_find_device return NULL in this tty case here? > > Yes, it can and will and that's fine, not all ttys have a struct device > (e.g. ptys).