summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-14 11:16:19 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-17 17:26:10 -0800
commita243f848ce0e16f7919d683fdfd4c8ea378fe25d (patch)
treebbcf15a9ad161da6bbca306db6cc85f113133968 /drivers/net/cxgb3
parent97915b5bf6454416c7b27444fc95c08132b74251 (diff)
downloadop-kernel-dev-a243f848ce0e16f7919d683fdfd4c8ea378fe25d.zip
op-kernel-dev-a243f848ce0e16f7919d683fdfd4c8ea378fe25d.tar.gz
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/ael1002.c b/drivers/net/cxgb3/ael1002.c
index 5c3c05d..e1b2249 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)
{ 0, 0, 0, 0 }
};
- int err, lasi_ctrl;
+ int err;
+ unsigned int lasi_ctrl;
err = mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_CTRL, &lasi_ctrl);
if (err)
OpenPOWER on IntegriCloud