On Thu, Oct 19, 2023 at 04:40:23PM +0800, Su Hui wrote:Yep, same problem exists at lan78xx_read_raw_eeprom().
check the value of 'ret' after call 'lan78xx_read_reg'.There are a bunch more "ret = " assignments which aren't used in this
Signed-off-by: Su Hui <suhui@xxxxxxxxxxxx>
---
Clang complains that value stored to 'ret' is never read.
Maybe this place miss an error code check, I'm not sure
about this.
function.