The patch titled gcov: use strict_strtoul has been added to the -mm tree. Its filename is gcov-add-gcov-profiling-infrastructure-use-strict_strtoul.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: gcov: use strict_strtoul From: Peter Oberparleiter <oberpar@xxxxxxxxxxxxxxxxxx> Use strict_strtoul to identify kernel parameter format errors. Signed-off-by: Peter Oberparleiter <oberpar@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/gcov/fs.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff -puN kernel/gcov/fs.c~gcov-add-gcov-profiling-infrastructure-use-strict_strtoul kernel/gcov/fs.c --- a/kernel/gcov/fs.c~gcov-add-gcov-profiling-infrastructure-use-strict_strtoul +++ a/kernel/gcov/fs.c @@ -70,7 +70,13 @@ static int gcov_persist = 1; static int __init gcov_persist_setup(char *str) { - gcov_persist = simple_strtoul(str, NULL, 0); + unsigned long val; + + if (strict_strtoul(str, 0, &val)) { + pr_warning("invalid gcov_persist parameter '%s'\n", str); + return 0; + } + gcov_persist = val; pr_info("setting gcov_persist to %d\n", gcov_persist); return 1; _ Patches currently in -mm which might be from oberpar@xxxxxxxxxxxxxxxxxx are kernel-constructor-support.patch seq_file-add-function-to-write-binary-data.patch gcov-add-gcov-profiling-infrastructure.patch gcov-add-gcov-profiling-infrastructure-update.patch gcov-add-gcov-profiling-infrastructure-use-strict_strtoul.patch gcov-enable-gcov_profile_all-for-x86_64.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html