numam-dpdk/drivers/net/qede/base
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
..
bcm_osal.c fix off-by-one errors in snprintf 2019-05-29 13:02:53 +02:00
bcm_osal.h net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
common_hsi.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_attn_values.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_chain.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_cxt_api.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_cxt.c net/qede/base: changes for 100G 2018-10-11 18:53:48 +02:00
ecore_cxt.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_dcbx_api.h net/qede/base: add APIs for dscp priority map configuration 2018-10-11 18:53:48 +02:00
ecore_dcbx.c net/qede/base: semantic changes 2018-10-11 18:53:48 +02:00
ecore_dcbx.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_dev_api.h net/qede/base: changes for 100G 2018-10-11 18:53:48 +02:00
ecore_dev.c net/qede/base: fix to initialize HW for LLH filters 2018-11-05 15:01:25 +01:00
ecore_gtt_reg_addr.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_gtt_values.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_hsi_common.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_hsi_debug_tools.h net/qede/base: upgrade to FW 8.37.7.0 2018-10-11 18:53:48 +02:00
ecore_hsi_eth.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_hsi_init_func.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_hsi_init_tool.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_hw_defs.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_hw.c net/qede/base: changes for 100G 2018-10-11 18:53:48 +02:00
ecore_hw.h net/qede/base: changes for 100G 2018-10-11 18:53:48 +02:00
ecore_init_fw_funcs.c net/qede/base: upgrade to FW 8.37.7.0 2018-10-11 18:53:48 +02:00
ecore_init_fw_funcs.h net/qede/base: upgrade to FW 8.37.7.0 2018-10-11 18:53:48 +02:00
ecore_init_ops.c net/qede/base: semantic changes 2018-10-11 18:53:48 +02:00
ecore_init_ops.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_int_api.h net/qede/base: semantic changes 2018-10-11 18:53:48 +02:00
ecore_int.c net/qede/base: semantic changes 2018-10-11 18:53:48 +02:00
ecore_int.h net/qede/base: fix MFW FLR flow 2018-09-28 01:41:01 +02:00
ecore_iov_api.h net/qede/base: support VF min rate 2018-10-11 18:53:48 +02:00
ecore_iro_values.h net/qede/base: upgrade to FW 8.37.7.0 2018-10-11 18:53:48 +02:00
ecore_iro.h net/qede/base: upgrade to FW 8.37.7.0 2018-10-11 18:53:48 +02:00
ecore_l2_api.h net/qede/base: enable control frame filtering 2018-10-11 18:53:48 +02:00
ecore_l2.c net/qede/base: semantic changes 2018-10-11 18:53:48 +02:00
ecore_l2.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_mcp_api.h net/qede/base: use pointer for bytes length read 2018-09-28 01:41:01 +02:00
ecore_mcp.c net/qede/base: semantic changes 2018-10-11 18:53:48 +02:00
ecore_mcp.h net/qede/base: changes for 100G 2018-10-11 18:53:48 +02:00
ecore_mng_tlv.c net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_proto_if.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_rt_defs.h net/qede/base: upgrade to FW 8.37.7.0 2018-10-11 18:53:48 +02:00
ecore_sp_api.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_sp_commands.c net/qede/base: add RL update params 2018-10-11 18:53:48 +02:00
ecore_sp_commands.h net/qede/base: add RL update params 2018-10-11 18:53:48 +02:00
ecore_spq.c net/qede/base: semantic changes 2018-10-11 18:53:48 +02:00
ecore_spq.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_sriov.c drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
ecore_sriov.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_status.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_utils.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_vf_api.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_vf.c drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
ecore_vf.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ecore_vfpf_if.h drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
ecore.h net/qede/base: changes for 100G 2018-10-11 18:53:48 +02:00
eth_common.h net/qede/base: upgrade to FW 8.37.7.0 2018-10-11 18:53:48 +02:00
mcp_public.h net/qede/base: changes for 100G 2018-10-11 18:53:48 +02:00
meson.build net/*/base: allow experimental APIs 2018-10-26 22:14:06 +02:00
nvm_cfg.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
reg_addr.h net/qede/base: add APIs for dscp priority map configuration 2018-10-11 18:53:48 +02:00