Re: [net-dsa-mv88e6xxx] question about potential use of uninitialized variable

2017-05-11 Thread Gustavo A. R. Silva
Hi Andrew, Quoting Andrew Lunn : On Thu, May 11, 2017 at 04:35:37PM -0500, Gustavo A. R. Silva wrote: Hello everybody, While looking into Coverity ID 1398130 I ran into the following piece of code at drivers/net/dsa/mv88e6xxx/chip.c:849: 849static uint64_t _mv88e6xxx_get_ethtool_stat(struc

Re: [net-dsa-mv88e6xxx] question about potential use of uninitialized variable

2017-05-11 Thread Andrew Lunn
On Thu, May 11, 2017 at 04:35:37PM -0500, Gustavo A. R. Silva wrote: > > Hello everybody, > > While looking into Coverity ID 1398130 I ran into the following > piece of code at drivers/net/dsa/mv88e6xxx/chip.c:849: > > 849static uint64_t _mv88e6xxx_get_ethtool_stat(struct mv88e6xxx_chip *chip,