diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-23 16:06:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-23 16:06:49 -0500 |
commit | 5356f664e1d2149b67d2aeed644cc1def128a4ac (patch) | |
tree | 8af6289553a71b193082657d508998f828020c95 | |
parent | aaa594cd11c6dff4e3545602be1aadd79969f953 (diff) | |
parent | d172f4ef31bec924c6ebcb242c9d7d290811e1e5 (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-- | MAINTAINERS | 8 | ||||
-rw-r--r-- | kernel/params.c | 10 |
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 | |||
4054 | W: http://user-mode-linux.sourceforge.net | 4054 | W: http://user-mode-linux.sourceforge.net |
4055 | S: Maintained | 4055 | S: Maintained |
4056 | 4056 | ||
4057 | USERSPACE I/O (UIO) | ||
4058 | P: Hans J. Koch | ||
4059 | M: hjk@linutronix.de | ||
4060 | P: Greg Kroah-Hartman | ||
4061 | M: gregkh@suse.de | ||
4062 | L: linux-kernel@vger.kernel.org | ||
4063 | S: Maintained | ||
4064 | |||
4057 | FAT/VFAT/MSDOS FILESYSTEM: | 4065 | FAT/VFAT/MSDOS FILESYSTEM: |
4058 | P: OGAWA Hirofumi | 4066 | P: OGAWA Hirofumi |
4059 | M: hirofumi@mail.parknet.co.jp | 4067 | M: 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 = { | |||
697 | decl_subsys(module, &module_ktype, &module_uevent_ops); | 697 | decl_subsys(module, &module_ktype, &module_uevent_ops); |
698 | int module_sysfs_initialized; | 698 | int module_sysfs_initialized; |
699 | 699 | ||
700 | static 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 | |||
700 | static struct kobj_type module_ktype = { | 709 | static 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 | /* |