Commit 5c41542b authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[WAN]: fix drivers/net/wan/lmc/ compilation

Signed-off-by: default avatarAdrian Bunk <>
Signed-off-by: default avatarDavid S. Miller <>
parent e403149c
......@@ -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;
ret = 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment