summaryrefslogtreecommitdiff
path: root/drivers/net/wan/lmc
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-31 01:34:34 +0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-31 07:16:15 +0300
commit5c41542bdeaafe922a07bcdebc10d96a3b8ffeee (patch)
tree75deeac6126eea07dd8ba9b32d1ffbc3826c928c /drivers/net/wan/lmc
parente403149c92a2a0643211debbbb0a9ec7cc04cff7 (diff)
downloadlinux-5c41542bdeaafe922a07bcdebc10d96a3b8ffeee.tar.xz
[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/net/wan/lmc')
-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;