dock.c remove trailing printk whitespace Signed-off-by: Tim Pepper <lnxninja@linux.vnet.ibm.com> --- I was looking at how docking events are handled these days as I was hoping to have an event handler automatically run an xrandr script for me to set up and remove my docking station attached monitor on dock/undock (which I still haven't figured out how to do or if it's even supported with my hardware :) and noticed the printk from the dock driver left trailing whitespace in syslog. Given the \n this doesn't look like it's meant to be a field separator...maybe in the past? diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index fa44fb9..96c542f 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c @@ -834,7 +834,7 @@ static int dock_add(acpi_handle handle) goto dock_add_err; } - printk(KERN_INFO PREFIX "%s \n", ACPI_DOCK_DRIVER_DESCRIPTION); + printk(KERN_INFO PREFIX "%s\n", ACPI_DOCK_DRIVER_DESCRIPTION); return 0; --
| Ingo Molnar | [patch 12/13] syslets: x86: optimized copy_uatom() |
| Greg Kroah-Hartman | [PATCH 017/196] aoechr: Convert from class_device to device |
| Yinghai Lu | Re: 2.6.26, PAT and AMD family 6 |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
