git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/cnxk: fix null pointer dereference
[dpdk.git]
/
lib
/
bpf
/
bpf.c
diff --git
a/lib/bpf/bpf.c
b/lib/bpf/bpf.c
index
8d15885
..
1e1dd42
100644
(file)
--- a/
lib/bpf/bpf.c
+++ b/
lib/bpf/bpf.c
@@
-2,15
+2,11
@@
* Copyright(c) 2018 Intel Corporation
*/
* Copyright(c) 2018 Intel Corporation
*/
-#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
-#include <string.h>
#include <errno.h>
#include <stdint.h>
#include <errno.h>
#include <stdint.h>
-#include <inttypes.h>
#include <rte_common.h>
#include <rte_common.h>
-#include <rte_eal.h>
#include "bpf_impl.h"
#include "bpf_impl.h"
@@
-53,4
+49,4
@@
bpf_jit(struct rte_bpf *bpf)
return rc;
}
return rc;
}
-RTE_LOG_REGISTER
(rte_bpf_logtype, lib.bpf
, INFO);
+RTE_LOG_REGISTER
_DEFAULT(rte_bpf_logtype
, INFO);