diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 06:16:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 20:26:10 -0500 |
commit | a243f848ce0e16f7919d683fdfd4c8ea378fe25d (patch) | |
tree | bbcf15a9ad161da6bbca306db6cc85f113133968 /drivers/net/cxgb3 | |
parent | 97915b5bf6454416c7b27444fc95c08132b74251 (diff) |
drivers/net/cxgb3: fix sparse warnings: fix signedness
Fix this sparse warning:
drivers/net/cxgb3/ael1002.c:1010:60: warning: incorrect type in argument 4 (different signedness)
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3')
-rw-r--r-- | drivers/net/cxgb3/ael1002.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/ael1002.c b/drivers/net/cxgb3/ael1002.c index 5c3c05da4d96..e1b22490ff59 100644 --- a/drivers/net/cxgb3/ael1002.c +++ b/drivers/net/cxgb3/ael1002.c | |||
@@ -1005,7 +1005,8 @@ static int ael2005_reset(struct cphy *phy, int wait) | |||
1005 | { 0, 0, 0, 0 } | 1005 | { 0, 0, 0, 0 } |
1006 | }; | 1006 | }; |
1007 | 1007 | ||
1008 | int err, lasi_ctrl; | 1008 | int err; |
1009 | unsigned int lasi_ctrl; | ||
1009 | 1010 | ||
1010 | err = mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_CTRL, &lasi_ctrl); | 1011 | err = mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_CTRL, &lasi_ctrl); |
1011 | if (err) | 1012 | if (err) |