summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-30 15:34:34 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-30 21:16:15 -0700
commit5c41542bdeaafe922a07bcdebc10d96a3b8ffeee (patch)
tree75deeac6126eea07dd8ba9b32d1ffbc3826c928c /drivers
parente403149c92a2a0643211debbbb0a9ec7cc04cff7 (diff)
downloadlinux-3.10-5c41542bdeaafe922a07bcdebc10d96a3b8ffeee.tar.gz
linux-3.10-5c41542bdeaafe922a07bcdebc10d96a3b8ffeee.tar.bz2
linux-3.10-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>
Diffstat (limited to 'drivers')
-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 64eb5789360..37c52e13175 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;