summaryrefslogtreecommitdiffstats
path: root/drivers/net/atl1e/atl1e_param.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-14 12:14:58 +0100
committerDavid S. Miller <davem@davemloft.net>2009-02-18 02:26:06 +0100
commitfd8ef49edd81405e80e00eb81365ae4d6733d602 (patch)
treeac745c6aa18b52788f9149f175e97ddcda508c56 /drivers/net/atl1e/atl1e_param.c
parentdrivers/net/arcnet: fix sparse warning: symbol shadows an earlier one (diff)
downloadlinux-fd8ef49edd81405e80e00eb81365ae4d6733d602.tar.xz
linux-fd8ef49edd81405e80e00eb81365ae4d6733d602.zip
drivers/net/atl1e: fix sparse warnings: fix signedness
Fix this sparse warnings: drivers/net/atl1e/atl1e_main.c:716:39: warning: incorrect type in argument 2 (different signedness) drivers/net/atl1e/atl1e_param.c:57:1: warning: incorrect type in initializer (different signedness) drivers/net/atl1e/atl1e_param.c:68:1: warning: incorrect type in initializer (different signedness) drivers/net/atl1e/atl1e_param.c:81:1: warning: incorrect type in initializer (different signedness) drivers/net/atl1e/atl1e_param.c:92:1: warning: incorrect type in initializer (different signedness) Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1e/atl1e_param.c')
-rw-r--r--drivers/net/atl1e/atl1e_param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atl1e/atl1e_param.c b/drivers/net/atl1e/atl1e_param.c
index f72abb34b0cd..b3be59fd3fb5 100644
--- a/drivers/net/atl1e/atl1e_param.c
+++ b/drivers/net/atl1e/atl1e_param.c
@@ -41,7 +41,7 @@
#define ATL1E_PARAM(x, desc) \
static int __devinitdata x[ATL1E_MAX_NIC + 1] = ATL1E_PARAM_INIT; \
- static int num_##x; \
+ static unsigned int num_##x; \
module_param_array_named(x, x, int, &num_##x, 0); \
MODULE_PARM_DESC(x, desc);