numam-dpdk/drivers/net/bnx2x
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
..
bnx2x_ethdev.c net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
bnx2x_ethdev.h net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
bnx2x_logs.h net/bnx2x: fix dynamic logging 2018-11-14 00:35:53 +01:00
bnx2x_rxtx.c ethdev: rename memzones allocated for DMA 2018-10-17 10:26:59 +02:00
bnx2x_rxtx.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x_stats.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_stats.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x_vfpf.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_vfpf.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x.c net/bnx2x: fix segfaults due to stale interrupt status 2019-03-01 18:17:35 +01:00
bnx2x.h net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
ecore_fw_defs.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
ecore_hsi.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_init_ops.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
ecore_init.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
ecore_mfw_req.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
ecore_reg.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
ecore_sp.c net/bnx2x: cleanup info logs 2018-12-13 16:31:06 +00:00
ecore_sp.h net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
elink.c net/bnx2x: remove profanity 2018-10-18 10:24:39 +02:00
elink.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
Makefile net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
meson.build build: improve dependency handling 2019-02-27 12:13:54 +01:00
rte_pmd_bnx2x_version.map bnx2x: driver support routines 2015-07-27 04:27:10 +02:00