From: Dan Carpenter Date: Fri, 14 Sep 2012 08:11:35 +0000 (+0300) Subject: Staging: silicom: use kstrtoint_from_user() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e6bb03983f265d06f2573e48e1cc0ae94d959a;p=pandora-kernel.git Staging: silicom: use kstrtoint_from_user() The main problem with the hand rolled code was that there weren't any range checks so you could corrupt memory by writing too much data to the proc file. Signed-off-by: Dan Carpenter Signed-off-by: Daniel Cotey Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed