Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent e403149c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;