davinci: da8xxevm: fix indentation
authorAndre Przywara <andre.przywara@arm.com>
Wed, 16 Nov 2016 00:50:12 +0000 (00:50 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 4 Dec 2016 18:55:02 +0000 (13:55 -0500)
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>
board/davinci/da8xxevm/da850evm.c

index 50223f4e22adebd429a9f471c8b5fd6008b32552..52f914d7a47dd52f68499661ec47b3ab77103d58 100644 (file)
@@ -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