numam-dpdk/drivers
Michael Santana f4be6a9a29 fix off-by-one errors in snprintf
snprintf guarantees to always correctly place a null terminator
in the buffer string. So manually placing a null terminator
in a buffer right after a call to snprintf is redundant code.

Additionally, there is no need to use 'sizeof(buffer) - 1' in snprintf as this
means we are not using the last character in the buffer. 'sizeof(buffer)' is
enough.

Cc: stable@dpdk.org

Signed-off-by: Michael Santana <msantana@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2019-05-29 13:02:53 +02:00
..
baseband bb/turbo_sw: update for FlexRAN 18.09 2018-12-19 11:19:10 +01:00
bus net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
common doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
compress compress/qat: fix dataplane return 2019-04-18 16:01:28 +02:00
crypto crypto/zuc: fix dependency check 2019-05-02 10:34:05 +02:00
event event/dsw: ignore scheduling type for single-link queues 2019-05-13 16:19:05 +02:00
mempool build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
net fix off-by-one errors in snprintf 2019-05-29 13:02:53 +02:00
raw doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00