diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 11:15:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 17:26:07 -0800 |
commit | b79d8fff0e54a19e96cbde2b1f79e0fd503c2c53 (patch) | |
tree | 911f674e1a215ea71590bd494188dc80daf24813 /drivers/net/atlx/atl1.c | |
parent | fd8ef49edd81405e80e00eb81365ae4d6733d602 (diff) | |
download | kernel-crypto-b79d8fff0e54a19e96cbde2b1f79e0fd503c2c53.tar.gz kernel-crypto-b79d8fff0e54a19e96cbde2b1f79e0fd503c2c53.tar.xz kernel-crypto-b79d8fff0e54a19e96cbde2b1f79e0fd503c2c53.zip |
drivers/net/atlx: fix sparse warnings: fix signedness
Impact: While being at it: statics do not need to be initialized with 0.
Fix this sparse warnings:
drivers/net/atlx/atl1.c:109:1: warning: incorrect type in initializer (different signedness)
drivers/net/atlx/atl2.c:2870:1: warning: incorrect type in initializer (different signedness)
drivers/net/atlx/atl2.c:2880:1: warning: incorrect type in initializer (different signedness)
drivers/net/atlx/atl2.c:2894:1: warning: incorrect type in initializer (different signedness)
drivers/net/atlx/atl2.c:2904:1: warning: incorrect type in initializer (different signedness)
drivers/net/atlx/atl2.c:2913:1: warning: incorrect type in initializer (different signedness)
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Jay Cliburn <jcliburn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atlx/atl1.c')
-rw-r--r-- | drivers/net/atlx/atl1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index c0ceee0d7c8..43fc1b2ca3c 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c @@ -105,7 +105,7 @@ * Default Value: 100 (200us) */ static int __devinitdata int_mod_timer[ATL1_MAX_NIC+1] = ATL1_PARAM_INIT; -static int num_int_mod_timer; +static unsigned int num_int_mod_timer; module_param_array_named(int_mod_timer, int_mod_timer, int, &num_int_mod_timer, 0); MODULE_PARM_DESC(int_mod_timer, "Interrupt moderator timer"); |