Date: Tue, 10 May 2016 16:31:18 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299374 - head/sys/dev/cxgb Message-ID: <201605101631.u4AGVIxi085937@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605101631.u4AGVIxi085937>