Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2017 11:00:05 +0000 (UTC)
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321864 - head/sys/contrib/ena-com
Message-ID:  <201708011100.v71B05Aw081996@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708011100.v71B05Aw081996>