diff options
author | Simon Horman <horms@verge.net.au> | 2009-12-23 19:54:54 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 16:42:38 -0800 |
commit | cf137d5c49379c5f05fba40baf1535b611410ec0 (patch) | |
tree | e42e65e4f0455e27f13a7a30647f8cde100b88b8 /drivers/staging/dt3155 | |
parent | 27b93f80e47a49a0584a4c8fb58bc44f9e026256 (diff) |
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 <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/dt3155')
0 files changed, 0 insertions, 0 deletions