test/mem: disable ASan when accessing unallocated memory
[dpdk.git] / lib / eal / common / eal_common_trace.c
index 24e2738..036f6ac 100644 (file)
@@ -3,7 +3,6 @@
  */
 
 #include <fnmatch.h>
-#include <inttypes.h>
 #include <sys/queue.h>
 #include <regex.h>
 
@@ -500,7 +499,6 @@ __rte_trace_point_register(rte_trace_point_t *handle, const char *name,
        /* Initialize the trace point */
        if (rte_strscpy(tp->name, name, TRACE_POINT_NAME_SIZE) < 0) {
                trace_err("name is too long");
-               rte_errno = E2BIG;
                goto free;
        }