numam-dpdk/drivers/net/axgbe
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
..
axgbe_common.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
axgbe_dev.c net/axgbe: fix jumbo setting overwritten 2018-05-02 19:28:48 +02:00
axgbe_ethdev.c ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
axgbe_ethdev.h net/axgbe: add workaround for ethernet training 2018-04-14 00:41:44 +02:00
axgbe_i2c.c net/axgbe: add phy init and related APIs 2018-04-14 00:41:44 +02:00
axgbe_logs.h net/axgbe: add minimal init and uninit support 2018-04-14 00:41:44 +02:00
axgbe_mdio.c net/axgbe: add workaround for ethernet training 2018-04-14 00:41:44 +02:00
axgbe_phy_impl.c net/axgbe: fix EEPROM string comparison 2018-05-14 23:32:23 +02:00
axgbe_phy.h net/axgbe: add phy register map and helper macros 2018-04-14 00:41:44 +02:00
axgbe_rxtx_vec_sse.c net/axgbe: add Rx/Tx data path 2018-04-14 00:41:44 +02:00
axgbe_rxtx.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
axgbe_rxtx.h net/axgbe: fix incorrect cache alignment macro 2018-04-27 15:54:56 +01:00
Makefile net/axgbe: add Rx/Tx data path 2018-04-14 00:41:44 +02:00
meson.build net/axgbe: support meson build 2018-04-14 00:41:44 +02:00
rte_pmd_axgbe_version.map fix indentation in symbol maps 2018-11-26 20:16:46 +01:00