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
eal/ppc: fix global memory barrier
[dpdk.git]
/
lib
/
librte_kni
/
rte_kni.c
diff --git
a/lib/librte_kni/rte_kni.c
b/lib/librte_kni/rte_kni.c
index
c9726d4
..
492e207
100644
(file)
--- a/
lib/librte_kni/rte_kni.c
+++ b/
lib/librte_kni/rte_kni.c
@@
-2,7
+2,7
@@
* Copyright(c) 2010-2014 Intel Corporation
*/
* Copyright(c) 2010-2014 Intel Corporation
*/
-#ifndef RTE_EXEC_ENV_LINUX
APP
+#ifndef RTE_EXEC_ENV_LINUX
#error "KNI is not supported"
#endif
#error "KNI is not supported"
#endif
@@
-483,7
+483,7
@@
int
rte_kni_handle_request(struct rte_kni *kni)
{
unsigned ret;
rte_kni_handle_request(struct rte_kni *kni)
{
unsigned ret;
- struct rte_kni_request *req;
+ struct rte_kni_request *req
= NULL
;
if (kni == NULL)
return -1;
if (kni == NULL)
return -1;