From: Alexey Dobriyan Date: Wed, 1 Apr 2009 21:30:04 +0000 (+0400) Subject: serial: fixup /proc/tty/driver/serial after proc_fops conversion X-Git-Tag: v2.6.30-rc1~410 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=833bb3046b6cb320e775ea2160ddca87d53260d5;p=pandora-kernel.git 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: [] uart_proc_show+0xe/0x2b0 Noticed by Linus. Signed-off-by: Alexey Dobriyan Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed