summaryrefslogtreecommitdiffstats
path: root/sys/dev/ti
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-11-09 12:55:07 +0000
committeralfred <alfred@FreeBSD.org>2002-11-09 12:55:07 +0000
commit533541c47bc98b118c55a2c646188e129abde3b8 (patch)
tree00d1b1f343ceacaa4c61b263e81e4f79e7449948 /sys/dev/ti
parent75770c482cd1308590f40a83da5eccefb24a2d44 (diff)
downloadFreeBSD-src-533541c47bc98b118c55a2c646188e129abde3b8.zip
FreeBSD-src-533541c47bc98b118c55a2c646188e129abde3b8.tar.gz
Fix instances of macros with improperly parenthasized arguments.
Verified by: md5
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_tireg.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/ti/if_tireg.h b/sys/dev/ti/if_tireg.h
index e1d56f8..b15b28b 100644
--- a/sys/dev/ti/if_tireg.h
+++ b/sys/dev/ti/if_tireg.h
@@ -807,16 +807,16 @@ struct ti_cmd_desc {
* that 'sc' and 'cmd' are in local scope.
*/
#define TI_DO_CMD(x, y, z) \
- cmd.ti_cmd = x; \
- cmd.ti_code = y; \
- cmd.ti_idx = z; \
+ cmd.ti_cmd = (x); \
+ cmd.ti_code = (y); \
+ cmd.ti_idx = (z); \
ti_cmd(sc, &cmd);
#define TI_DO_CMD_EXT(x, y, z, v, w) \
- cmd.ti_cmd = x; \
- cmd.ti_code = y; \
- cmd.ti_idx = z; \
- ti_cmd_ext(sc, &cmd, v, w);
+ cmd.ti_cmd = (x); \
+ cmd.ti_code = (y); \
+ cmd.ti_idx = (z); \
+ ti_cmd_ext(sc, &cmd, (v), (w));
/*
* Other utility macros.
OpenPOWER on IntegriCloud