Skip to content

Commit

Permalink
drivers/net/cxgb3: fix sparse warnings: fix signedness
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hannes Eder authored and David S. Miller committed Feb 18, 2009
1 parent 97915b5 commit a243f84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/cxgb3/ael1002.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a243f84

Please sign in to comment.