aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-12-23 16:06:49 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-12-23 16:06:49 -0500
commit5356f664e1d2149b67d2aeed644cc1def128a4ac (patch)
tree8af6289553a71b193082657d508998f828020c95
parentaaa594cd11c6dff4e3545602be1aadd79969f953 (diff)
parentd172f4ef31bec924c6ebcb242c9d7d290811e1e5 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6: Modules: fix memory leak of module names UIO: Add a MAINTAINERS entry for Userspace I/O
-rw-r--r--MAINTAINERS8
-rw-r--r--kernel/params.c10
2 files changed, 18 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 907094f07142..3d567fd2e0a1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4054,6 +4054,14 @@ L: user-mode-linux-user@lists.sourceforge.net
4054W: http://user-mode-linux.sourceforge.net 4054W: http://user-mode-linux.sourceforge.net
4055S: Maintained 4055S: Maintained
4056 4056
4057USERSPACE I/O (UIO)
4058P: Hans J. Koch
4059M: hjk@linutronix.de
4060P: Greg Kroah-Hartman
4061M: gregkh@suse.de
4062L: linux-kernel@vger.kernel.org
4063S: Maintained
4064
4057FAT/VFAT/MSDOS FILESYSTEM: 4065FAT/VFAT/MSDOS FILESYSTEM:
4058P: OGAWA Hirofumi 4066P: OGAWA Hirofumi
4059M: hirofumi@mail.parknet.co.jp 4067M: hirofumi@mail.parknet.co.jp
diff --git a/kernel/params.c b/kernel/params.c
index 2a4c51487e72..7686417ee00e 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -697,8 +697,18 @@ static struct kset_uevent_ops module_uevent_ops = {
697decl_subsys(module, &module_ktype, &module_uevent_ops); 697decl_subsys(module, &module_ktype, &module_uevent_ops);
698int module_sysfs_initialized; 698int module_sysfs_initialized;
699 699
700static void module_release(struct kobject *kobj)
701{
702 /*
703 * Stupid empty release function to allow the memory for the kobject to
704 * be properly cleaned up. This will not need to be present for 2.6.25
705 * with the upcoming kobject core rework.
706 */
707}
708
700static struct kobj_type module_ktype = { 709static struct kobj_type module_ktype = {
701 .sysfs_ops = &module_sysfs_ops, 710 .sysfs_ops = &module_sysfs_ops,
711 .release = module_release,
702}; 712};
703 713
704/* 714/*