Alexey Dobriyan 833bb3046b serial: fixup /proc/tty/driver/serial after proc_fops conversion
"struct tty_driver *" lies in m->private not in v which is
SEQ_TOKEN_START which is 1 which is enough to trigger NULL dereference
next line:

	BUG: unable to handle kernel NULL pointer dereference at 000000ad
	IP: [<c040d689>] uart_proc_show+0xe/0x2b0

Noticed by Linus.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-01 14:50:48 -07:00
..
2009-02-18 15:37:55 -08:00
2008-10-20 08:52:36 -07:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-02-03 14:47:38 +02:00
2008-04-30 08:29:47 -07:00
2008-10-16 16:52:06 +02:00
2006-12-08 08:28:57 -08:00
2008-10-20 08:50:24 -07:00
2008-10-20 08:52:36 -07:00
2007-07-18 08:38:22 -07:00