mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
566a965af1
commit
bb72b94e22
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ int misc_init_r(void)
|
|||
memcmp(env_enetaddr, buff, 6))
|
||||
printf("Warning: MAC address in SPI flash don't match "
|
||||
"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
|
||||
uint8_t enetaddr[8];
|
||||
|
@ -190,7 +190,7 @@ int misc_init_r(void)
|
|||
if (eeprom_mac_read && memcmp(enetaddr, env_enetaddr, 6))
|
||||
printf("Warning: MAC address in EEPROM don't match "
|
||||
"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
|
||||
|
|
Loading…
Reference in a new issue