]> Git Repo - linux.git/commit
fs/proc: remove redundant comments from /proc/bootconfig
authorZhenhua Huang <[email protected]>
Tue, 9 Apr 2024 04:43:57 +0000 (21:43 -0700)
committerMasami Hiramatsu (Google) <[email protected]>
Tue, 9 Apr 2024 14:31:54 +0000 (23:31 +0900)
commitfbbdc255fbee59b4207a5398fdb4f04590681a79
tree61d43f777711a7a1f211ec60abe9cb6a878a33d4
parentfec50db7033ea478773b159e0e2efb135270e3b7
fs/proc: remove redundant comments from /proc/bootconfig

commit 717c7c894d4b ("fs/proc: Add boot loader arguments as comment to
/proc/bootconfig") adds bootloader argument comments into /proc/bootconfig.

/proc/bootconfig shows boot_command_line[] multiple times following
every xbc key value pair, that's duplicated and not necessary.
Remove redundant ones.

Output before and after the fix is like:
key1 = value1
*bootloader argument comments*
key2 = value2
*bootloader argument comments*
key3 = value3
*bootloader argument comments*
...

key1 = value1
key2 = value2
key3 = value3
*bootloader argument comments*
...

Link: https://lore.kernel.org/all/[email protected]/
Fixes: 717c7c894d4b ("fs/proc: Add boot loader arguments as comment to /proc/bootconfig")
Signed-off-by: Zhenhua Huang <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: [email protected]
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
fs/proc/bootconfig.c
This page took 0.052844 seconds and 4 git commands to generate.