aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-30 18:34:34 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-31 00:16:15 -0400
commit5c41542bdeaafe922a07bcdebc10d96a3b8ffeee (patch)
tree75deeac6126eea07dd8ba9b32d1ffbc3826c928c /drivers/net/wan
parente403149c92a2a0643211debbbb0a9ec7cc04cff7 (diff)
[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')
-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*/
234 sc->lmc_xinfo.Magic1 = 0xDEADBEEF; 234 sc->lmc_xinfo.Magic1 = 0xDEADBEEF;
235 235
236 if (copy_to_user(ifr->ifr_data, &sc->lmc_xinfo, 236 if (copy_to_user(ifr->ifr_data, &sc->lmc_xinfo,
237 sizeof(struct lmc_xinfo))) { 237 sizeof(struct lmc_xinfo)))
238 ret = -EFAULT; 238 ret = -EFAULT;
239 else 239 else
240 ret = 0; 240 ret = 0;