Re: [U-Boot] [PATCH 14/17] net: phy: mv88e61xx: Fix uninitialized variable warning

2017-05-09 Thread Chris Packham
On 9/05/2017 2:13 PM, "Tom Rini" wrote: The variable 'res' may be unused uninitialized if our call to mv88e61xx_port_read (register read) fails and we goto the error handling section. In this case we set 'res' to -EIO to indicate why we failed. Cc: Joe Hershberger Cc: Chris Packham Cc: Kevin

[U-Boot] [PATCH 14/17] net: phy: mv88e61xx: Fix uninitialized variable warning

2017-05-08 Thread Tom Rini
The variable 'res' may be unused uninitialized if our call to mv88e61xx_port_read (register read) fails and we goto the error handling section. In this case we set 'res' to -EIO to indicate why we failed. Cc: Joe Hershberger Cc: Chris Packham Cc: Kevin Smith Cc: Prafulla Wadaskar Signed-off-b