summaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-08-20 15:35:04 +0930
committerRusty Russell <rusty@rustcorp.com.au>2013-08-20 15:37:46 +0930
commitf4940ab7c5992d3fabcda039744fb7657749798e (patch)
treeea8a5bb3f5c93a0cef4c0e91ad87017f299bfdec /kernel/module.c
parentcc56ded3fdd365e07e03315379ee6612a68fd817 (diff)
downloadlinux-f4940ab7c5992d3fabcda039744fb7657749798e.tar.gz
linux-f4940ab7c5992d3fabcda039744fb7657749798e.tar.bz2
linux-f4940ab7c5992d3fabcda039744fb7657749798e.zip
kernel/params.c: use scnprintf() instead of sprintf()
For some strings (e.g. version string), they are permitted to be larger than PAGE_SIZE (although meaningless), so recommend to use scnprintf() instead of sprintf(). Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions