Skip to content
Snippets Groups Projects
Commit bb72b94e authored by Andre Przywara's avatar Andre Przywara Committed by Tom Rini
Browse files

davinci: da8xxevm: fix indentation


Apparently the indentation is wrong in this case, as the second message
should be printed indepdently of the if statement.

Fix this indentation to avoid both compiler warnings and puzzled readers.

Pointed out by GCC 6.2's -Wmisleading-indentation warning.

Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent 566a965a
No related branches found
No related tags found
No related merge requests found
...@@ -164,7 +164,7 @@ int misc_init_r(void) ...@@ -164,7 +164,7 @@ int misc_init_r(void)
memcmp(env_enetaddr, buff, 6)) memcmp(env_enetaddr, buff, 6))
printf("Warning: MAC address in SPI flash don't match " printf("Warning: MAC address in SPI flash don't match "
"with the MAC address in the environment\n"); "with the MAC address in the environment\n");
printf("Default using MAC address from environment\n"); printf("Default using MAC address from environment\n");
} }
#endif #endif
uint8_t enetaddr[8]; uint8_t enetaddr[8];
...@@ -190,7 +190,7 @@ int misc_init_r(void) ...@@ -190,7 +190,7 @@ int misc_init_r(void)
if (eeprom_mac_read && memcmp(enetaddr, env_enetaddr, 6)) if (eeprom_mac_read && memcmp(enetaddr, env_enetaddr, 6))
printf("Warning: MAC address in EEPROM don't match " printf("Warning: MAC address in EEPROM don't match "
"with the MAC address in the environment\n"); "with the MAC address in the environment\n");
printf("Default using MAC address from environment\n"); printf("Default using MAC address from environment\n");
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment