fix for tty-serial-move-port
authorAlexander Beregalov <a.beregalov@gmail.com>
Fri, 2 Jan 2009 13:49:32 +0000 (13:49 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:42 +0000 (10:19 -0800)
commitbc3256288b8ff9787623805e53cf7c6d5a2b4591
tree6c93a6f80b8e7ea5472ede60f25c0c66d28e76fb
parentf751928e0ddf54ea4fe5546f35e99efc5b5d9938
fix for tty-serial-move-port

Hi Alan

next-20081204 crashes with the following message:

BUG: unable to handle kernel paging request at ffff88007d320248
IP: [<ffffffff803de934>] uart_remove_one_port+0xef/0x111
                kfree(info);
     393:       49 8d 7d 10             lea    0x10(%r13),%rdi
     397:       e8 00 00 00 00          callq  39c <uart_remove_one_port+0xef>

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/serial_core.c