summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-30 23:34:34 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-31 05:16:15 +0100
commit5c41542bdeaafe922a07bcdebc10d96a3b8ffeee (patch)
tree75deeac6126eea07dd8ba9b32d1ffbc3826c928c
parentKbuild/doc: fix links to Documentation files (diff)
downloadlinux-5c41542bdeaafe922a07bcdebc10d96a3b8ffeee.tar.xz
linux-5c41542bdeaafe922a07bcdebc10d96a3b8ffeee.zip
[WAN]: fix drivers/net/wan/lmc/ compilation
Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/wan/lmc/lmc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c
index 64eb57893602..37c52e131750 100644
--- 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;