commit | e04ab958727a4b314df3e40036d72d9348835d0c | [log] [tgz] |
---|---|---|
author | Wim Van Sebroeck <wim@iguana.be> | Wed Sep 02 09:10:07 2009 +0000 |
committer | Wim Van Sebroeck <wim@iguana.be> | Fri Sep 18 08:39:37 2009 +0000 |
tree | 018f72a28458e891eced5c4bca082941394099f8 | |
parent | d1833c21256e7b0ac3997493d31f0f3926f6d592 [diff] [blame] |
[WATCHDOG] sizeof cleanup Use sizeof(*) instead of sizeof * (See Codingstyle documentation). Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
diff --git a/drivers/watchdog/iop_wdt.c b/drivers/watchdog/iop_wdt.c index 0c90596..aef9478 100644 --- a/drivers/watchdog/iop_wdt.c +++ b/drivers/watchdog/iop_wdt.c
@@ -139,7 +139,7 @@ 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;