* [trivial patch][2.5] rmmod 8250 oopses
@ 2003-06-14 3:49 Samuel Thibault
2003-06-14 4:24 ` Samuel Thibault
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Thibault @ 2003-06-14 3:49 UTC (permalink / raw)
To: linux-kernel, torvalds
Hi,
Removing serial driver modules would oops, please apply:
--- linux-2.5.70-bk12/drivers/serial/core.c 2003-06-13 23:43:26.000000000 -0400
+++ linux-2.5.70-bk12-perso/drivers/serial/core.c 2003-06-13 23:45:06.000000000 -0400
@@ -2189,11 +2189,11 @@
void uart_unregister_driver(struct uart_driver *drv)
{
struct tty_driver *p = drv->tty_driver;
- drv->tty_driver = NULL;
tty_unregister_driver(p);
kfree(drv->state);
kfree(drv->tty_driver->termios);
kfree(drv->tty_driver);
+ drv->tty_driver = NULL;
}
struct tty_driver *uart_console_device(struct console *co, int *index)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [trivial patch][2.5] rmmod 8250 oopses
2003-06-14 3:49 [trivial patch][2.5] rmmod 8250 oopses Samuel Thibault
@ 2003-06-14 4:24 ` Samuel Thibault
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Thibault @ 2003-06-14 4:24 UTC (permalink / raw)
To: linux-kernel, torvalds
oops, sorry, already applied by Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-14 4:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-14 3:49 [trivial patch][2.5] rmmod 8250 oopses Samuel Thibault
2003-06-14 4:24 ` Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).