svn commit: r247675 - head/sys/ofed/include/linux

Alexander Motin mav at FreeBSD.org
Sat Mar 2 22:41:06 UTC 2013


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)


More information about the svn-src-all mailing list