On 21.10.21 07:36, Stefan Roese wrote:
On 12.09.21 09:25, sven.auha...@voleatech.de wrote:
From: Sven Auhagen <sven.auha...@voleatech.de>

The function show_eeprom is missing int i if debug is enabled.

Signed-off-by: Sven Auhagen <sven.auha...@voleatech.de>

Reviewed-by: Stefan Roese <s...@denx.de>

Applied to u-boot-marvell/master

Thanks,
Stefan

Thanks,
Stefan

---
  cmd/tlv_eeprom.c | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/cmd/tlv_eeprom.c b/cmd/tlv_eeprom.c
index 745565f89c..520e5dc738 100644
--- a/cmd/tlv_eeprom.c
+++ b/cmd/tlv_eeprom.c
@@ -169,6 +169,9 @@ static void show_eeprom(u8 *eeprom)
  {
      int tlv_end;
      int curr_tlv;
+#ifdef DEBUG
+    int i;
+#endif
      struct tlvinfo_header *eeprom_hdr = to_header(eeprom);
      struct tlvinfo_tlv    *eeprom_tlv;



Viele Grüße,
Stefan



Viele Grüße,
Stefan

--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Reply via email to