diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-30 15:34:34 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-30 21:16:15 -0700 |
commit | 5c41542bdeaafe922a07bcdebc10d96a3b8ffeee (patch) | |
tree | 75deeac6126eea07dd8ba9b32d1ffbc3826c928c /drivers/net/wan | |
parent | e403149c92a2a0643211debbbb0a9ec7cc04cff7 (diff) | |
download | op-kernel-dev-5c41542bdeaafe922a07bcdebc10d96a3b8ffeee.zip op-kernel-dev-5c41542bdeaafe922a07bcdebc10d96a3b8ffeee.tar.gz |
[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.c | 2 |
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 64eb578..37c52e1 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; |