Author: mav
Date: Sat Mar  2 22:41:06 2013
New Revision: 247675
URL: http://svnweb.freebsd.org/changeset/base/247675

Log:
  Add protective parentheses for macro argument, missed in r247671.

Modified:
  head/sys/ofed/include/linux/timer.h

Modified: head/sys/ofed/include/linux/timer.h
==============================================================================
--- head/sys/ofed/include/linux/timer.h Sat Mar  2 22:34:33 2013        
(r247674)
+++ head/sys/ofed/include/linux/timer.h Sat Mar  2 22:41:06 2013        
(r247675)
@@ -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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to