[dpdk-dev] [PATCH 1/3] net/cxgbe: init data value before reading seeprom
ferruh.yigit at intel.com
Wed Jan 25 13:12:15 CET 2017
On 1/24/2017 8:48 PM, Emmanuel Roullit wrote:
> data value could have been garbage if VPD access timed out for VPD read
> request could not been issued.
> Found with clang static analysis:
> warning: The left operand of '&' is a garbage value
> } while ((stats_reg & 0x1) && --max_poll);
> ~~~~~~~~~ ^
> Fixes: 17ba077c5c54 ("net/cxgbe: support register dump")
> Signed-off-by: Emmanuel Roullit <emmanuel.roullit at gmail.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev