Skip to content

Commit 2f66a3d

Browse files
juerghpalmer-dabbelt
authored andcommitted
riscv: Kconfig: Fix indentation and add comments
The convention for indentation seems to be a single tab. Help text is further indented by an additional two whitespaces. Fix the lines that violate these rules. While add it, add trailing comments to endmenu statements for better readability. Signed-off-by: Juerg Haefliger <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 3123109 commit 2f66a3d

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

arch/riscv/Kconfig

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,11 @@ config RISCV_ISA_C
328328
bool "Emit compressed instructions when building Linux"
329329
default y
330330
help
331-
Adds "C" to the ISA subsets that the toolchain is allowed to emit
332-
when building Linux, which results in compressed instructions in the
333-
Linux binary.
331+
Adds "C" to the ISA subsets that the toolchain is allowed to emit
332+
when building Linux, which results in compressed instructions in the
333+
Linux binary.
334334

335-
If you don't know what to do here, say Y.
335+
If you don't know what to do here, say Y.
336336

337337
config FPU
338338
bool "FPU support"
@@ -343,7 +343,7 @@ config FPU
343343

344344
If you don't know what to do here, say Y.
345345

346-
endmenu
346+
endmenu # "Platform type"
347347

348348
menu "Kernel features"
349349

@@ -394,7 +394,7 @@ config CRASH_DUMP
394394

395395
For more details see Documentation/admin-guide/kdump/kdump.rst
396396

397-
endmenu
397+
endmenu # "Kernel features"
398398

399399
menu "Boot options"
400400

@@ -430,7 +430,6 @@ config CMDLINE_EXTEND
430430
cases where the provided arguments are insufficient and
431431
you don't want to or cannot modify them.
432432

433-
434433
config CMDLINE_FORCE
435434
bool "Always use the default kernel command string"
436435
help
@@ -522,7 +521,7 @@ config XIP_PHYS_ADDR
522521
be linked for and stored to. This address is dependent on your
523522
own flash usage.
524523

525-
endmenu
524+
endmenu # "Boot options"
526525

527526
config BUILTIN_DTB
528527
bool
@@ -533,12 +532,12 @@ menu "Power management options"
533532

534533
source "kernel/power/Kconfig"
535534

536-
endmenu
535+
endmenu # "Power management options"
537536

538537
menu "CPU Power Management"
539538

540539
source "drivers/cpuidle/Kconfig"
541540

542-
endmenu
541+
endmenu # "CPU Power Management"
543542

544543
source "arch/riscv/kvm/Kconfig"

0 commit comments

Comments
 (0)