svn commit: r321864 - head/sys/contrib/ena-com
Marcin Wojtas
mw at FreeBSD.org
Tue Aug 1 11:00:06 UTC 2017
Author: mw
Date: Tue Aug 1 11:00:04 2017
New Revision: 321864
URL: https://svnweb.freebsd.org/changeset/base/321864
Log:
Merge ena-com 1.1.4.2
Update ENA HAL after fixing gcc build in r321861.
Submitted by: rlibby
Reviewed by: cognet (mentor)
Approved by: cognet (mentor)
Differential Revision: https://reviews.freebsd.org/D11480
Modified:
head/sys/contrib/ena-com/ena_plat.h
Directory Properties:
head/sys/contrib/ena-com/ (props changed)
Modified: head/sys/contrib/ena-com/ena_plat.h
==============================================================================
--- head/sys/contrib/ena-com/ena_plat.h Tue Aug 1 10:47:44 2017 (r321863)
+++ head/sys/contrib/ena-com/ena_plat.h Tue Aug 1 11:00:04 2017 (r321864)
@@ -139,21 +139,12 @@ extern struct ena_bus_space ebs;
#define MAX_ERRNO 4095
#define IS_ERR_VALUE(x) unlikely((x) <= (unsigned long)MAX_ERRNO)
-#define WARN_ON(condition) \
- do { \
- int __ret_warn_on = !!(condition); \
- if (unlikely(__ret_warn_on)) \
- printf("%s %s", __FUNCTION__, __FILE__); \
- unlikely(__ret_warn_on); \
- } while (0)
-
#define ENA_ASSERT(cond, format, arg...) \
do { \
if (unlikely(!(cond))) { \
ena_trc_err( \
"Assert failed on %s:%s:%d:" format, \
__FILE__, __func__, __LINE__, ##arg); \
- WARN_ON(cond); \
} \
} while (0)
More information about the svn-src-head
mailing list