summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/vga.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2007-11-15 02:00:08 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-15 03:45:42 +0100
commit22800a2830ec07e7cc5c837999890ac47cc7f5de (patch)
tree48dbd0e712551d72ba9a6631797a38803a47b737 /include/asm-xtensa/vga.h
parentproc: simplify and correct proc_flush_task (diff)
downloadlinux-22800a2830ec07e7cc5c837999890ac47cc7f5de.tar.xz
linux-22800a2830ec07e7cc5c837999890ac47cc7f5de.zip
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 <jan.kiszka@web.de> Cc: Dave Young <hidave.darkstar@gmail.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-xtensa/vga.h')
0 files changed, 0 insertions, 0 deletions