aboutsummaryrefslogtreecommitdiff
path: root/drivers/watchdog/iop_wdt.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2009-09-02 09:10:07 +0000
committerWim Van Sebroeck <wim@iguana.be>2009-09-18 08:39:37 +0000
commite04ab958727a4b314df3e40036d72d9348835d0c (patch)
tree018f72a28458e891eced5c4bca082941394099f8 /drivers/watchdog/iop_wdt.c
parentd1833c21256e7b0ac3997493d31f0f3926f6d592 (diff)
[WATCHDOG] sizeof cleanup
Use sizeof(*) instead of sizeof * (See Codingstyle documentation). Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/iop_wdt.c')
-rw-r--r--drivers/watchdog/iop_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/iop_wdt.c b/drivers/watchdog/iop_wdt.c
index 0c905967669..aef94789019 100644
--- a/drivers/watchdog/iop_wdt.c
+++ b/drivers/watchdog/iop_wdt.c
@@ -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;