On Thu, Feb 16, 2023 at 11:45:58AM +0106, John Ogness wrote: > The ttynull driver does not provide an implementation for the write() > callback. This leads to a NULL pointer dereference in the related > printing kthread, which assumes it can call that callback. > > Do not create kthreads for consoles that do not implement the write() > callback. Also, for pr_flush(), ignore consoles that do not implement > write() or write_atomic() since there is no way those consoles can > flush their output. > > --- > This is only a problem for the PREEMPT_RT tree. Mainline does not have > this problem. Sorry for resurrecting this old thread but we actually want this patch in 5.15-rt. I am not sure why this was not applied to 5.15-rt yet since it is already applied to 5.10-rt. Could you please consider to pick this for 5.15-rt? Best regards, Krishanth