[PATCH 01/14] env: sf: Cosmetic fix in env_sf_init_addr()

Marek Behún kabel at kernel.org
Fri Oct 22 15:47:12 CEST 2021


From: Marek Behún <marek.behun at nic.cz>

In the if clause we use tabs and in the else clause spaces. Let's use
spaces in the if clause too.

Signed-off-by: Marek Behún <marek.behun at nic.cz>
---
 env/sf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/env/sf.c b/env/sf.c
index e4b7ca9e04..4096e18387 100644
--- a/env/sf.c
+++ b/env/sf.c
@@ -338,8 +338,8 @@ static int env_sf_init_addr(void)
 	env_t *env_ptr = (env_t *)env_sf_get_env_addr();
 
 	if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {
-		gd->env_addr	= (ulong)&(env_ptr->data);
-		gd->env_valid	= 1;
+		gd->env_addr = (ulong)&(env_ptr->data);
+		gd->env_valid = 1;
 	} else {
 		gd->env_addr = (ulong)&default_environment[0];
 		gd->env_valid = 1;
-- 
2.32.0



More information about the U-Boot mailing list