Page MenuHomeFreeBSD

D11480.id.diff
No OneTemporary

D11480.id.diff

Index: head/sys/contrib/ena-com/ena_plat.h
===================================================================
--- head/sys/contrib/ena-com/ena_plat.h
+++ head/sys/contrib/ena-com/ena_plat.h
@@ -139,21 +139,12 @@
#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)

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 24, 11:18 PM (4 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39558470
Default Alt Text
D11480.id.diff (794 B)

Event Timeline