numam-dpdk/drivers/net/qede/base
Andrius Sirvys 902f389f9b drivers/net: fix shifting 32-bit signed variable 31 times
Shifting signed 32-bit values by 31-bits has the potential for
unexpected  outcomes as compiler can overwrite a bit.
Specified that values are unsigned.

Errors are observed from running cppcheck.

Bugzilla ID: 58
Fixes: 69e209be54 ("net/axgbe: add register map and related macros")
Fixes: b5bf771922 ("bnx2x: driver support routines")
Fixes: ed2ced6fe9 ("net/bnxt: check initialization before accessing stats")
Fixes: 6fda3f0ddd ("net/cxgbe: add API to program hardware MPS table")
Fixes: bdb244b969 ("e1000: whitespace changes")
Fixes: 5a32a257f9 ("e1000: more NICs in base driver")
Fixes: 2fe669f4bc ("net/nfp: support MAC address change")
Fixes: defb9a5dd1 ("nfp: introduce driver initialization")
Fixes: ec94dbc573 ("qede: add base driver")
Fixes: d2e7d931d0 ("net/qede/base: formatting changes")
Fixes: cdc07e83bb ("net/tap: add eBPF program file")
Cc: stable@dpdk.org

Signed-off-by: Andrius Sirvys <andrius.sirvys@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-03-01 18:17:36 +01:00
..
bcm_osal.c add missing static keyword to globals 2018-10-29 02:01:08 +01:00
bcm_osal.h net/qede/base: support periodic Doorbell Recovery 2018-10-11 18:53:48 +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