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.

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    |  24 +-
 lib/librte_eal/linuxapp/kni/kni_misc.c    | 399 ++++++++++++++----------------
 lib/librte_eal/linuxapp/kni/kni_net.c     | 365 +++++++++++++--------------
 lib/librte_eal/linuxapp/kni/kni_vhost.c   | 199 +++++++--------
 8 files changed, 537 insertions(+), 561 deletions(-)

-- 
2.7.4

Reply via email to