KNI checkpatch cleanup, mostly non-functional but cosmetic modifications.
Only functional change is related logging, switched to kernel dynamic
logging and compile time KNI debug options removed, some log message
levels updated.
v3:
rebased on latest master
depends on http://dpdk.org/dev/patchwork/patch/16060/
v2:
keep variable externs in .c file
Ferruh Yigit (19):
kni: move externs to the header file
kni: uninitialize global variables
kni: make static struct const
kni: whitespace, indentation, long line corrections
kni: prefer unsigned int to unsigned
kni: remove useless return
kni: comparisons should place the constant on the right
kni: trailing statements should be on next line
kni: do not use assignment in if condition
kni: macros with complex values should be enclosed in parentheses
kni: prefer min_t to min
kni: prefer ether_addr_copy to memcpy
kni: update kernel logging
kni: remove unnecessary 'out of memory' message
kni: move functions to eliminate function declarations
kni: remove compile time debug configuration
kni: updated log messages
kni: prefer uint32_t to unsigned int
kni: move kernel version ifdefs to compat header
config/common_base| 3 -
lib/librte_eal/linuxapp/kni/compat.h | 18 +-
lib/librte_eal/linuxapp/kni/kni_dev.h | 51 ++--
lib/librte_eal/linuxapp/kni/kni_ethtool.c | 39 ++-
lib/librte_eal/linuxapp/kni/kni_fifo.h| 30 +--
lib/librte_eal/linuxapp/kni/kni_misc.c| 401 ++
lib/librte_eal/linuxapp/kni/kni_net.c | 363 +--
lib/librte_eal/linuxapp/kni/kni_vhost.c | 199 +++
8 files changed, 541 insertions(+), 563 deletions(-)
--
2.7.4