projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97915b5
)
drivers/net/cxgb3: fix sparse warnings: fix signedness
author
Hannes Eder
<hannes@hanneseder.net>
Sat, 14 Feb 2009 11:16:19 +0000
(11:16 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 18 Feb 2009 01:26:10 +0000
(17:26 -0800)
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>
drivers/net/cxgb3/ael1002.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/cxgb3/ael1002.c
b/drivers/net/cxgb3/ael1002.c
index 5c3c05da4d96338e3f80e659c3c6e09d0017121b..e1b22490ff597e439bbb1deb90b3638d59dfdb6f 100644
(file)
--- 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)