projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e403149
)
[WAN]: fix drivers/net/wan/lmc/ compilation
author
Adrian Bunk
<bunk@kernel.org>
Tue, 30 Oct 2007 22:34:34 +0000
(15:34 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 31 Oct 2007 04:16:15 +0000
(21:16 -0700)
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/lmc/lmc_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wan/lmc/lmc_main.c
b/drivers/net/wan/lmc/lmc_main.c
index 64eb57893602a90a36a88c892c24c697aef5db2f..37c52e1317504a5e1a7a0e87ca53a47c7daf697b 100644
(file)
--- a/
drivers/net/wan/lmc/lmc_main.c
+++ b/
drivers/net/wan/lmc/lmc_main.c
@@
-234,7
+234,7
@@
int lmc_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd) /*fold00*/
sc->lmc_xinfo.Magic1 = 0xDEADBEEF;
if (copy_to_user(ifr->ifr_data, &sc->lmc_xinfo,
- sizeof(struct lmc_xinfo))) {
+ sizeof(struct lmc_xinfo)))
ret = -EFAULT;
else
ret = 0;