lib: remove use of strncpy
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ethdev: remove use of strncpylib/ | +6 | 1 reply | |
| 2/3 | eventdev: improve bounds checks for names in adapter createlib/ | +2 | 0 replies | |
| 3/3 | vhost: remove use of strncpylib/ lib/ lib/ +1 more | +6 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Chengwen Feng | Andrew Rybchenko |
|---|---|---|
| Series | Series-reviewed-by R-b R-b R-b | R-b |
| 1/3 | R-b | |
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] lib: remove use of strncpy
Taking a lead from the kernel, which has just finished a multi-year effort to remove use of strncpy[1], rework DPDK to remove use of the same function. This series removes all remaining uses of strncpy in lib directory.
[1] https://www.phoronix.com/news/Linux-7.2-Drops-strncpy
Bruce Richardson (3):
ethdev: remove use of strncpy
eventdev: improve bounds checks for names in adapter create
vhost: remove use of strncpy
lib/ethdev/ethdev_driver.c | 7 ++++++- lib/eventdev/rte_event_eth_tx_adapter.c | 4 ++-- lib/vhost/socket.c | 4 +--- lib/vhost/vduse.c | 2 +- lib/vhost/vhost.c | 12 +++--------- lib/vhost/vhost.h | 2 +- 6 files changed, 14 insertions(+), 17 deletions(-)
--
2.53.0