xen/arm: bootfd: Fix indentation in process_multiboot_node()
PATCH 1/1 xen/arm: bootfd: Fix indentation in process_multiboot_node()
One line in process_multiboot_node() is using hard tab rather than soft tab. So fix it!
--- xen/arch/arm/bootfdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/bootfdt.c +1 -1
@@ -264,7 +264,7 @@ static void __init process_multiboot_node(const void *fdt, int node,case 1 : kind =BOOTMOD_RAMDISK ;break ;default :break ; } -if ( kind_guess >1 &&has_xsm_magic (start) ) +if ( kind_guess >1 &&has_xsm_magic (start) ) kind =BOOTMOD_XSM ; }
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines · Julien Grall
One line in
process_multiboot_node()is using hard tab rather than soft tab. So fix it!Signed-off-by Julien Grall <[email protected]>
So, hunting them one-by-one is the preferred way? I'm asking this because there are more of them:
% find xen/arch/arm -type f -name "*.[ch]" -exec grep -lP "\t" {} \; xen/arch/arm/traps.cxen/arch/arm/acpi/boot.c xen/arch/arm/arm32/lib/assembler.h xen/arch/arm/arm64/livepatch.c xen/arch/arm/arm64/lib/find_next_bit.c xen/arch/arm/arm64/insn.cxen/arch/arm/alternative.cxen/arch/arm/bootfdt.c (apparently, I don't have this patch applied)
Quoted 16 lines
--- xen/arch/arm/bootfdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)xen/arch/arm/bootfdt.c +1
-1@@ -264,7 +264,7 @@ static void __init process_multiboot_node(const void *fdt, int node,case 1 : kind =BOOTMOD_RAMDISK ;break ;default :break ; } -if ( kind_guess >1 &&has_xsm_magic (start) ) +if ( kind_guess >1 &&has_xsm_magic (start) ) kind =BOOTMOD_XSM ; }
Signature · 5 lines
Volodymyr Babchuk at EPAM _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 10 lines · On Wed, 11 Sep 2019, 18:36 Volodymyr Babchuk, <[email protected]>…
Quoted 4 lines · Julien Grall
One line in
process_multiboot_node()is using hard tab rather than soft tab. So fix it!Signed-off-by Julien Grall <[email protected]>Reviewed-by Volodymyr Babchuk <[email protected]>So, hunting them one-by-one is the preferred way?
I usually do it while I touch code around. I found this one when debugging a boot regression today. You are welcome to fix the rest although...
I'm asking this
Quoted 10 lines
because there are more of them:
% find xen/arch/arm -type f -name "*.[ch]" -exec grep -lP "\t" {} \;
xen/arch/arm/traps.cxen/arch/arm/acpi/boot.cxen/arch/arm/arm32/lib/assembler.hxen/arch/arm/arm64/livepatch.cxen/arch/arm/arm64/lib/find_next_bit.cxen/arch/arm/arm64/insn.c
The 4 above are a copy from Linux and therefore hard tab should stay.
Cheers,
Quoted 1 line
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Stefano Stabellini
Acked-byQuoted 8 lines · Volodymyr Babchuk
Quoted 4 lines · Julien Grall
One line in
process_multiboot_node()is using hard tab rather than soft tab. So fix it!Signed-off-by Julien Grall <[email protected]>Reviewed-by Volodymyr Babchuk <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel