[dpdk-dev] [PATCH 00/19] KNI checkpatch cleanup

Ferruh Yigit ferruh.yigit at intel.com
Thu Sep 15 17:46:26 CEST 2016


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.

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     |  55 ++---
 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    | 398 ++++++++++++++----------------
 lib/librte_eal/linuxapp/kni/kni_net.c     | 365 +++++++++++++--------------
 lib/librte_eal/linuxapp/kni/kni_vhost.c   | 199 +++++++--------
 8 files changed, 538 insertions(+), 563 deletions(-)

-- 
2.7.4



More information about the dev mailing list