Skip to content
Snippets Groups Projects
Commit 920a34c0 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

ar71xx: drivers/ar71xx_wdt: fix size argument passed to copy_to_user()


Signed-off-by: default avatarArnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23983
parent 3106aea4
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@ static long ar71xx_wdt_ioctl(struct file *file,
case WDIOC_GETSUPPORT:
ret = copy_to_user((struct watchdog_info *)arg,
&ar71xx_wdt_info,
sizeof(&ar71xx_wdt_info)) ? -EFAULT : 0;
sizeof(ar71xx_wdt_info)) ? -EFAULT : 0;
break;
case WDIOC_GETSTATUS:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment