numam-dpdk/drivers
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
..
baseband bb/turbo_sw: update for FlexRAN 18.09 2018-12-19 11:19:10 +01:00
bus net/dpaa2: support low level loopback tester 2019-03-01 18:17:35 +01:00
common compress/qat: fix dequeue error counter 2018-12-19 11:19:10 +01:00
compress build: improve dependency handling 2019-02-27 12:13:54 +01:00
crypto crypto/virtio: use local log type 2019-03-01 18:17:36 +01:00
event fix global variable issues 2018-10-29 02:34:27 +01:00
mempool mempool/dpaa2: fix continuous print on empty pool 2019-03-01 18:17:35 +01:00
net drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
raw raw/ifpga: fix memory leak 2019-01-19 00:07:52 +01:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: improve dependency handling 2019-02-27 12:13:54 +01:00