mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
[WAN]: fix drivers/net/wan/lmc/ compilation
Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e403149c92
commit
5c41542bde
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue