Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <tiwei.btw@antgroup.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Tiwei Bie and committed by
Johannes Berg
26577cfb a0830785

+6 -5
+1 -1
arch/um/drivers/ubd_kern.c
··· 370 370 " useful when a unique number should be given to the device. Note when\n" 371 371 " specifying a label, the filename2 must be also presented. It can be\n" 372 372 " an empty string, in which case the backing file is not used:\n" 373 - " ubd0=File,,Serial\n" 373 + " ubd0=File,,Serial\n\n" 374 374 ); 375 375 376 376 static int udb_setup(char *str)
+1 -1
arch/um/kernel/dtb.c
··· 38 38 39 39 __uml_setup("dtb=", uml_dtb_setup, 40 40 "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" 42 42 );
+3 -2
arch/um/kernel/time.c
··· 1005 1005 "have more than one system simultaneously be on simulated time. The virtio\n" 1006 1006 "driver code in UML knows about this so you can also simulate networks and\n" 1007 1007 "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"); 1009 1009 1010 1010 static int setup_time_travel_start(char *str) 1011 1011 { ··· 1023 1023 __uml_help(setup_time_travel_start, 1024 1024 "time-travel-start=<nanoseconds>\n" 1025 1025 "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 + 1027 1028 static struct kobject *bc_time_kobject; 1028 1029 1029 1030 static ssize_t bc_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
+1 -1
arch/um/os-Linux/skas/process.c
··· 895 895 "noreboot\n" 896 896 " Rather than rebooting, exit always, akin to QEMU's -no-reboot option.\n" 897 897 " 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"); 899 899 900 900 void reboot_skas(void) 901 901 {