build fixes for recent distros
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 4 repliesIn review
- v14 patches 6 repliesSuperseded
Changes in v2 from the cover letter
* for kernel 3.8
- undef HAVE_HW_TIME_STAMP instead of removing code
* for gcc 4.8
- use strncmp instead of strncmp
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | kni: fix build with kernel 3.8lib/ lib/ | +25 | 2 replies | |
| 2/4 | kni: fix build with kernel 3.9lib/ lib/ | +32 | 0 replies | |
| 3/4 | kni: fix build with kernel 3.10lib/ lib/ lib/ +3 more | +79 | 0 replies | |
| 4/4 | app: fix build with gcc 4.8app/ | +1 | 2 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | David Nyström | Nicolas Dichtel |
|---|---|---|
| 1/4 | T-b | A-b |
| 2/4 | T-b | A-b |
| 3/4 | T-b | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] build fixes for recent distros
KNI is an out-of-tree kernel driver, so it needs some updates to follow recent API changes in Linux.
There is also a patch to build with latest GCC.
v2 changes:
* for kernel 3.8
- undef HAVE_HW_TIME_STAMP instead of removing code
* for gcc 4.8
- use strncmp instead of strncmp
---
Thomas Monjalon (4):
kni: fix build with kernel 3.8
kni: fix build with kernel 3.9
kni: fix build with kernel 3.10
app: fix build with gcc 4.8
app/test/test_cmdline_string.c | 3 +- lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h | 5 +- lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c | 47 ++++++++++++------ lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 49 ++++++++++++++++++- lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h | 6 +-- .../linuxapp/kni/ethtool/ixgbe/ixgbe_ethtool.c | 14 +++--- .../linuxapp/kni/ethtool/ixgbe/ixgbe_main.c | 16 +++--- .../linuxapp/kni/ethtool/ixgbe/kcompat.h | 51 ++++++++++++++------ 8 files changed, 137 insertions(+), 54 deletions(-)