summaryrefslogtreecommitdiffstats
path: root/sys/ofed
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-03-02 22:41:06 +0000
committermav <mav@FreeBSD.org>2013-03-02 22:41:06 +0000
commitb9da6c918fad2a1005141b59f547eea6260575a9 (patch)
tree142802f42c63c4a12a69f6e0883c1b86c85f7d71 /sys/ofed
parenta5e43a09afe7409538b55eac84ad64abc6aeedc6 (diff)
downloadFreeBSD-src-b9da6c918fad2a1005141b59f547eea6260575a9.zip
FreeBSD-src-b9da6c918fad2a1005141b59f547eea6260575a9.tar.gz
Add protective parentheses for macro argument, missed in r247671.
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/include/linux/timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/include/linux/timer.h b/sys/ofed/include/linux/timer.h
index 3a32131..a497334 100644
--- a/sys/ofed/include/linux/timer.h
+++ b/sys/ofed/include/linux/timer.h
@@ -66,7 +66,7 @@ do { \
#define mod_timer(timer, exp) \
do { \
- (timer)->expires = exp; \
+ (timer)->expires = (exp); \
callout_reset(&(timer)->timer_callout, (exp) - jiffies, \
_timer_fn, (timer)); \
} while (0)
OpenPOWER on IntegriCloud