From 27eae7e9ad39739ed37a68299bbc5b2b9c4e9931 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sat, 2 Mar 2013 22:41:06 +0000 Subject: [PATCH] Add protective parentheses for macro argument, missed in r247671. --- sys/ofed/include/linux/timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ofed/include/linux/timer.h b/sys/ofed/include/linux/timer.h index 3a32131c24a..a497334d8e3 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)