aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/atlx/atl2.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-14 06:15:17 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-17 20:26:07 -0500
commitb79d8fff0e54a19e96cbde2b1f79e0fd503c2c53 (patch)
tree911f674e1a215ea71590bd494188dc80daf24813 /drivers/net/atlx/atl2.c
parentfd8ef49edd81405e80e00eb81365ae4d6733d602 (diff)
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/atl2.c')
-rw-r--r--drivers/net/atlx/atl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c
index bc394491b63b..9fe06c3f4097 100644
--- a/drivers/net/atlx/atl2.c
+++ b/drivers/net/atlx/atl2.c
@@ -2854,7 +2854,7 @@ static void atl2_force_ps(struct atl2_hw *hw)
2854#else 2854#else
2855#define ATL2_PARAM(X, desc) \ 2855#define ATL2_PARAM(X, desc) \
2856 static int __devinitdata X[ATL2_MAX_NIC+1] = ATL2_PARAM_INIT; \ 2856 static int __devinitdata X[ATL2_MAX_NIC+1] = ATL2_PARAM_INIT; \
2857 static int num_##X = 0; \ 2857 static unsigned int num_##X; \
2858 module_param_array_named(X, X, int, &num_##X, 0); \ 2858 module_param_array_named(X, X, int, &num_##X, 0); \
2859 MODULE_PARM_DESC(X, desc); 2859 MODULE_PARM_DESC(X, desc);
2860#endif 2860#endif