Jason Baron
b82bab4bbe
dynamic debug: move ddebug_remove_module() down into free_module()
...
The command
echo "file ec.c +p" >/sys/kernel/debug/dynamic_debug/control
causes an oops.
Move the call to ddebug_remove_module() down into free_module(). In this
way it should be called from all error paths. Currently, we are missing
the remove if the module init routine fails.
Signed-off-by: Jason Baron <jbaron@redhat.com>
Reported-by: Thomas Renninger <trenn@suse.de>
Tested-by: Thomas Renninger <trenn@suse.de>
Cc: <stable@kernel.org> [2.6.32+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-07-27 14:32:06 -07:00
..
2010-07-21 19:27:07 -05:00
2010-06-09 17:05:08 +02:00
2010-06-10 11:02:34 -04:00
2010-07-02 09:52:58 -07:00
2010-06-10 20:56:54 -04:00
2010-05-18 08:57:00 +10:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-05 13:19:45 -07:00
2010-04-02 20:12:00 +02:00
2010-05-10 23:18:47 +02:00
2010-06-04 15:21:45 -07:00
2010-05-19 11:48:18 -07:00
2010-06-01 09:22:50 -07:00
2010-05-27 09:12:44 -07:00
2010-05-27 09:12:45 -07:00
2010-07-19 11:54:15 +01:00
2010-03-06 11:26:46 -08:00
2010-06-04 15:21:45 -07:00
2010-05-27 09:12:47 -07:00
2010-05-30 09:00:03 -07:00
2010-06-30 15:43:44 -07:00
2010-04-12 12:19:18 +10:00
2010-05-26 16:15:37 +02:00
2010-05-04 08:39:36 +02:00
2010-05-20 21:04:21 -05:00
2010-06-29 15:29:31 -07:00
2010-05-27 09:12:45 -07:00
2010-05-08 18:08:30 +02:00
2010-05-21 09:37:31 -07:00
2010-03-24 16:31:21 -07:00
2010-03-30 22:02:32 +09:00
2010-05-04 05:38:16 +02:00
2010-04-06 00:15:37 +02:00
2010-05-21 09:37:30 -07:00
2010-05-20 21:04:18 -05:00
2010-07-27 14:32:06 -07:00
2010-05-19 08:18:44 +02:00
2010-02-25 10:34:26 +01:00
2010-03-30 22:02:32 +09:00
2010-05-27 09:12:48 -07:00
2010-05-27 09:12:53 -07:00
2010-03-12 16:04:50 -08:00
2010-06-08 18:43:00 +02:00
2010-03-30 22:02:32 +09:00
2010-05-27 09:12:51 -07:00
2010-05-17 00:21:03 +02:00
2010-05-27 09:12:46 -07:00
2010-05-27 22:38:15 +02:00
2010-05-20 21:04:27 -05:00
2010-05-27 09:12:57 -07:00
2010-05-27 09:12:44 -07:00
2010-05-10 11:08:34 -07:00
2010-05-10 11:08:34 -07:00
2010-05-11 16:10:47 -07:00
2010-05-18 08:27:54 -07:00
2010-05-11 16:10:47 -07:00
2010-05-10 11:08:35 -07:00
2010-05-11 16:10:47 -07:00
2010-05-10 11:08:35 -07:00
2010-05-27 09:12:48 -07:00
2010-03-30 22:02:32 +09:00
2010-05-11 12:01:10 -07:00
2010-04-15 08:54:59 +02:00
2010-03-30 22:02:32 +09:00
2010-05-27 09:12:47 -07:00
2010-06-23 06:50:44 -07:00
2010-03-11 18:32:53 +01:00
2010-04-23 11:02:02 +02:00
2010-04-02 20:12:05 +02:00
2010-07-02 09:52:58 -07:00
2010-05-27 09:12:46 -07:00
2010-03-29 09:13:30 -07:00
2010-03-29 09:14:47 -07:00
2010-05-27 09:12:48 -07:00
2010-06-04 15:21:45 -07:00
2010-03-21 19:30:13 +01:00
2010-03-30 22:02:32 +09:00
2010-05-31 08:37:44 +02:00
2010-03-12 15:52:32 -08:00
2010-05-27 09:12:44 -07:00
2010-05-25 08:07:05 -07:00
2010-06-03 14:54:39 +02:00
2010-03-30 22:02:32 +09:00
2010-05-24 11:50:38 +02:00
2010-06-04 15:21:45 -07:00
2010-05-14 09:50:34 -04:00
2010-03-06 11:26:23 -08:00
2010-05-21 09:37:29 -07:00
2010-05-10 08:48:39 +02:00
2010-05-27 09:12:48 -07:00