numam-dpdk/drivers/net/axgbe
Andy Green 275782311c net/axgbe: fix EEPROM string comparison
drivers/net/axgbe/axgbe_phy_impl.c:576:6: error:
‘__builtin_memcmp_eq’ reading 16 bytes from a region of size 9
[-Werror=stringop-overflow=]
  if (memcmp(&sfp_eeprom->base[AXGBE_SFP_BASE_VENDOR_NAME],
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      AXGBE_BEL_FUSE_VENDOR, AXGBE_SFP_BASE_VENDOR_NAME_LEN))

Fixes: a5c7273771 ("net/axgbe: add phy programming APIs")

Signed-off-by: Andy Green <andy@warmcat.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2018-05-14 23:32:23 +02:00
..
axgbe_common.h drivers/net: remove duplicated includes 2018-04-27 15:54:55 +01:00
axgbe_dev.c net/axgbe: fix jumbo setting overwritten 2018-05-02 19:28:48 +02:00
axgbe_ethdev.c ethdev: replace bus specific struct with generic dev 2018-04-14 00:41:44 +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
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 net/axgbe: support 32-bit build mode 2018-04-14 00:41:44 +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