Re: tty_register_device NULL pointer dereference in 2.6.31-rc4

Alan Cox
2009-07-25T12:10:46Z

> > tty_register_device appears to have been called with a NULL pointer. Not
> > sure why however.
>
> if that is the pointer for the struct device, then that used to be fine
> in the past. Not all RFCOMM device have a parent when they are created.

The tty layer doesn't care about the struct device really. Nothing there
has changed. The NULL passed appears to be the driver argument.