svn commit: r299374 - head/sys/dev/cxgb

Hans Petter Selasky hselasky at FreeBSD.org
Tue May 10 16:31:19 UTC 2016


Author: hselasky
Date: Tue May 10 16:31:18 2016
New Revision: 299374
URL: https://svnweb.freebsd.org/changeset/base/299374

Log:
  Fix kernel LINT build after r299363.
  
  Define shadowing macros the same way to avoid macro redefinition
  compile error(s) for now.
  
  Approved by:	np @

Modified:
  head/sys/dev/cxgb/cxgb_osdep.h

Modified: head/sys/dev/cxgb/cxgb_osdep.h
==============================================================================
--- head/sys/dev/cxgb/cxgb_osdep.h	Tue May 10 16:20:36 2016	(r299373)
+++ head/sys/dev/cxgb/cxgb_osdep.h	Tue May 10 16:31:18 2016	(r299374)
@@ -169,7 +169,7 @@ static const int debug_flags = DBG_RX;
 #define test_and_clear_bit(bit, p) atomic_cmpset_int((p), ((*(p)) | (1<<bit)), ((*(p)) & ~(1<<bit)))
 
 #define max_t(type, a, b) (type)max((a), (b))
-#define cpu_to_be32            htobe32
+#define cpu_to_be32(x)		htobe32(x)
 
 /* Standard PHY definitions */
 #define BMCR_LOOPBACK		BMCR_LOOP


More information about the svn-src-head mailing list