From: Simon Horman Date: Wed, 23 Dec 2009 08:54:54 +0000 (+1100) Subject: Staging: rtl8192su, rtl8192u: use min_t() in store_debug_level() X-Git-Tag: v2.6.34-rc1~10^2~1^2~245 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf137d5c49379c5f05fba40baf1535b611410ec0;p=pandora-kernel.git Staging: rtl8192su, rtl8192u: use min_t() in store_debug_level() sizeof() returns a size_t but the other types involved are unsigned long, so using min() results in a warning. As sizeof() is called on an 11 character buffer defined immediately above unsigned long is obviously wide enough for the result. Signed-off-by: Simon Horman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed