diff options
author | 2007-05-08 00:28:38 -0700 | |
---|---|---|
committer | 2007-05-08 11:15:08 -0700 | |
commit | ae84e324709d6320ed8c1fd7b1736fcbaf26df95 (patch) | |
tree | bb3b623f2fd491771c716957622a72e86e9582dd /kernel/mutex.h | |
parent | PNPACPI sets pnpdev->dev.archdata (diff) | |
download | linux-dev-ae84e324709d6320ed8c1fd7b1736fcbaf26df95.tar.xz linux-dev-ae84e324709d6320ed8c1fd7b1736fcbaf26df95.zip |
Simplify module_get_kallsym() by dropping length arg
module_get_kallsym() could in theory truncate module symbol name to fit in
buffer, but nobody does this. Always use KSYM_NAME_LEN + 1 bytes for name.
Suggested by lg^WRusty.
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions