mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
5f024d10bb
In lan78xx_read_otp() we want to know if sig is LAN78XX_OTP_INDICATOR_1 or LAN78XX_OTP_INDICATOR_2. In the case of matching the first one we set offset to itself, and clang warns about this. Rework the logic so that if sig is the second indicator we adjust the offset as today and if it does not match the first indicator we return -EINVAL Cc: Marek Vasut <marex@denx.de> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Tom Rini <trini@konsulko.com> |
||
---|---|---|
.. | ||
asix.c | ||
asix88179.c | ||
Kconfig | ||
lan7x.c | ||
lan7x.h | ||
lan75xx.c | ||
lan78xx.c | ||
Makefile | ||
mcs7830.c | ||
r8152.c | ||
r8152.h | ||
r8152_fw.c | ||
smsc95xx.c | ||
usb_ether.c |