commit | 833bb3046b6cb320e775ea2160ddca87d53260d5 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Thu Apr 02 01:30:04 2009 +0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Apr 01 14:50:48 2009 -0700 |
tree | de206436200246909246f9e0df27e4cced13e364 | |
parent | 8b53ef33d9d8fa5f771ae11cc6a6e7bc0182beec [diff] |
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>