Skip to contentSkip to conversation

cmd: pxe_utils: add some missing tabs

PATCH In review Dan Carpenter 4 participants 4 messages Jul 27, 2023 – Aug 9, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd: pxe_utils: add some missing tabs

These lines are supposed to be indented one more tab. Otherwise it's confusing to read.

---
 boot/pxe_utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
boot/pxe_utils.c +2 -2
index d13c47dd9429..ac1414a5f26d 100644
@@ -702,8 +702,8 @@ static int label_boot(struct pxe_context *ctx, struct pxe_label *label)
 				}
 			}
 
-		if (label->kaslrseed)
-			label_boot_kaslrseed();
+			if (label->kaslrseed)
+				label_boot_kaslrseed();
 
 #ifdef CONFIG_OF_LIBFDT_OVERLAY
 			if (label->fdtoverlays)
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines

These lines are supposed to be indented one more tab. Otherwise it's confusing to read.

Quoted 20 lines
---
 boot/pxe_utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
boot/pxe_utils.c +2 -3
@@ -702,8 +702,8 @@ static int label_boot(struct pxe_context *ctx, struct pxe_label *label)
 				}
 			}
 
-		if (label->kaslrseed)
-			label_boot_kaslrseed();
+			if (label->kaslrseed)
+				label_boot_kaslrseed();
 
 #ifdef CONFIG_OF_LIBFDT_OVERLAY
 			if (label->fdtoverlays)
--

2.39.2

Reviewed-by on v1 1/1
#2 lore raw
In reply to Dan Carpenter

Hi,

Quoted 13 lines · Dan Carpenter

These lines are supposed to be indented one more tab. Otherwise it's confusing to read.

---
  boot/pxe_utils.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
boot/pxe_utils.c +0 -0
index d13c47dd9429..ac1414a5f26d 100644

boot/pxe_utils.c static int label_boot(struct pxe_context *ctx, struct pxe_label *label) · line 709

Quoted 10 lines
boot/pxe_utils.c +2 -2
@@ -702,8 +702,8 @@ static int label_boot(struct pxe_context *ctx, struct pxe_label *label)
  				}
  			}
 
-		if (label->kaslrseed)
-			label_boot_kaslrseed();
+			if (label->kaslrseed)
+				label_boot_kaslrseed();
 
  #ifdef CONFIG_OF_LIBFDT_OVERLAY
  			if (label->fdtoverlays)

Thanks
Patrick