Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163624
b: refs/heads/master
c: e04ab95
h: refs/heads/master
v: v3
  • Loading branch information
Wim Van Sebroeck committed Sep 18, 2009
1 parent 3f481ca commit 918308a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1833c21256e7b0ac3997493d31f0f3926f6d592
refs/heads/master: e04ab958727a4b314df3e40036d72d9348835d0c
2 changes: 1 addition & 1 deletion trunk/drivers/watchdog/iop_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static long iop_wdt_ioctl(struct file *file,

switch (cmd) {
case WDIOC_GETSUPPORT:
if (copy_to_user(argp, &ident, sizeof ident))
if (copy_to_user(argp, &ident, sizeof(ident)))
ret = -EFAULT;
else
ret = 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/watchdog/rm9k_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ static const struct resource *wdt_gpi_get_resource(struct platform_device *pdv,
const char *name, unsigned int type)
{
char buf[80];
if (snprintf(buf, sizeof buf, "%s_0", name) >= sizeof buf)
if (snprintf(buf, sizeof(buf), "%s_0", name) >= sizeof(buf))
return NULL;
return platform_get_resource_byname(pdv, type, buf);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/watchdog/sc1200wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static long sc1200wdt_ioctl(struct file *file, unsigned int cmd,

switch (cmd) {
case WDIOC_GETSUPPORT:
if (copy_to_user(argp, &ident, sizeof ident))
if (copy_to_user(argp, &ident, sizeof(ident)))
return -EFAULT;
return 0;

Expand Down

0 comments on commit 918308a

Please sign in to comment.