Thread (10 messages) 10 messages, 4 authors, 2017-02-14

Re: [PATCH 1/3] net/cxgbe: init data value before reading seeprom

From: Ferruh Yigit <hidden>
Date: 2017-01-26 11:06:52

On 1/25/2017 12:12 PM, Ferruh Yigit wrote:
On 1/24/2017 8:48 PM, Emmanuel Roullit wrote:
quoted
data value could have been garbage if VPD access timed out for VPD read
request could not been issued.

Found with clang static analysis:
drivers/net/cxgbe/base/t4_hw.c:1577:22:
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 <redacted>
Applied to dpdk-next-net/master, thanks.
Fixes: fe0bd9ee5da3 ("net/cxgbe: support EEPROM access")
Cc: stable@dpdk.org
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help