diff options
| author | Jan Kiszka <[email protected]> | 2007-11-14 17:00:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-11-14 18:45:42 -0800 |
| commit | 22800a2830ec07e7cc5c837999890ac47cc7f5de (patch) | |
| tree | 48dbd0e712551d72ba9a6631797a38803a47b737 /include/linux | |
| parent | 9fcc2d15b14894aa53e5e8b7fd5d6e3ca558e5df (diff) | |
fix param_sysfs_builtin name length check
Commit faf8c714f4508207a9c81cc94dafc76ed6680b44 caused a regression:
parameter names longer than MAX_KBUILD_MODNAME will now be rejected,
although we just need to keep the module name part that short. This patch
restores the old behaviour while still avoiding that memchr is called with
its length parameter larger than the total string length.
Signed-off-by: Jan Kiszka <[email protected]>
Cc: Dave Young <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions