Skip to content

Commit 26577cf

Browse files
btw616jmberg-intel
authored andcommitted
um: Add missing trailing newline to help messages
Some help messages are missing a trailing newline. They should end with two newlines, but only one is present. Add the missing newline to make the --help output more readable. Signed-off-by: Tiwei Bie <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent a083078 commit 26577cf

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

arch/um/drivers/ubd_kern.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ __uml_help(ubd_setup,
370370
" useful when a unique number should be given to the device. Note when\n"
371371
" specifying a label, the filename2 must be also presented. It can be\n"
372372
" an empty string, in which case the backing file is not used:\n"
373-
" ubd0=File,,Serial\n"
373+
" ubd0=File,,Serial\n\n"
374374
);
375375

376376
static int udb_setup(char *str)

arch/um/kernel/dtb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ static int __init uml_dtb_setup(char *line, int *add)
3838

3939
__uml_setup("dtb=", uml_dtb_setup,
4040
"dtb=<file>\n"
41-
" Boot the kernel with the devicetree blob from the specified file.\n"
41+
" Boot the kernel with the devicetree blob from the specified file.\n\n"
4242
);

arch/um/kernel/time.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ __uml_help(setup_time_travel,
10051005
"have more than one system simultaneously be on simulated time. The virtio\n"
10061006
"driver code in UML knows about this so you can also simulate networks and\n"
10071007
"devices using it, assuming the device has the right capabilities.\n"
1008-
"The optional ID is a 64-bit integer that's sent to the central scheduler.\n");
1008+
"The optional ID is a 64-bit integer that's sent to the central scheduler.\n\n");
10091009

10101010
static int setup_time_travel_start(char *str)
10111011
{
@@ -1023,7 +1023,8 @@ __setup("time-travel-start=", setup_time_travel_start);
10231023
__uml_help(setup_time_travel_start,
10241024
"time-travel-start=<nanoseconds>\n"
10251025
"Configure the UML instance's wall clock to start at this value rather than\n"
1026-
"the host's wall clock at the time of UML boot.\n");
1026+
"the host's wall clock at the time of UML boot.\n\n");
1027+
10271028
static struct kobject *bc_time_kobject;
10281029

10291030
static ssize_t bc_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)

arch/um/os-Linux/skas/process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ __uml_setup("noreboot", noreboot_cmd_param,
895895
"noreboot\n"
896896
" Rather than rebooting, exit always, akin to QEMU's -no-reboot option.\n"
897897
" This is useful if you're using CONFIG_PANIC_TIMEOUT in order to catch\n"
898-
" crashes in CI\n");
898+
" crashes in CI\n\n");
899899

900900
void reboot_skas(void)
901901
{

0 commit comments

Comments
 (0)