[U-Boot] [PATCH] lib: fdt: fix indent of #ifdef..#endif conditional

Match the depth of indentation between #ifdef and #endif for better readability.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com ---
lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index a954051..48667ef 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1167,7 +1167,7 @@ int fdtdec_setup(void) # else /* FDT is at end of image */ gd->fdt_blob = (ulong *)&_end; -#endif +# endif # elif defined(CONFIG_OF_HOSTFILE) if (sandbox_read_fdt_from_file()) { puts("Failed to read control FDT\n");

On 1 August 2015 at 01:03, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Match the depth of indentation between #ifdef and #endif for better readability.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index a954051..48667ef 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1167,7 +1167,7 @@ int fdtdec_setup(void) # else /* FDT is at end of image */ gd->fdt_blob = (ulong *)&_end; -#endif +# endif # elif defined(CONFIG_OF_HOSTFILE) if (sandbox_read_fdt_from_file()) { puts("Failed to read control FDT\n"); -- 1.9.1
Acked-by: Simon Glass sjg@chromium.org

On 2 August 2015 at 15:21, Simon Glass sjg@chromium.org wrote:
On 1 August 2015 at 01:03, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Match the depth of indentation between #ifdef and #endif for better readability.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index a954051..48667ef 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1167,7 +1167,7 @@ int fdtdec_setup(void) # else /* FDT is at end of image */ gd->fdt_blob = (ulong *)&_end; -#endif +# endif # elif defined(CONFIG_OF_HOSTFILE) if (sandbox_read_fdt_from_file()) { puts("Failed to read control FDT\n"); -- 1.9.1
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-x86, thanks!
participants (2)
-
Masahiro Yamada
-
Simon Glass