net/sfc/base: fix warnings from VS2015 C compiler (C4244)
authorAndrew Lee <alee@solarflare.com>
Thu, 16 Nov 2017 08:04:32 +0000 (08:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit35263276892e10dfed8c03be774d3b247e61e5fa
treef3c8c0eac86b1354c2a6a3cea4f3e5b78844a13a
parente6df11c8568005e590e454e2cfbd8ed937930811
net/sfc/base: fix warnings from VS2015 C compiler (C4244)

Fix level 4 warning
"C4244: '+=': conversion from 'unsigned int' to 'uint16_t', possible loss
of data"; no functional changes.

Fixes: 946ba3b6941a ("net/sfc/base: import VPD support")
Cc: stable@dpdk.org
Signed-off-by: Andrew Lee <alee@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_vpd.c