platform/x86: toshiba_haps: Fix missing newline in pr_debug call in toshiba_haps_notify
PATCH 1/1 platform/x86: toshiba_haps: Fix missing newline in pr_debug call in toshiba_haps_notify
The pr_debug() call in toshiba_haps_notify() is missing a newline at the end of the string, add this.
BugLink https://bugs.debian.org/799193
Reported-by Salvatore Bonaccorso <[email protected]>
Signed-off-by Hans de Goede <[email protected]>
--- drivers/platform/x86/toshiba_haps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/toshiba_haps.c +1 -1
@@ -131,7 +131,7 @@ static const struct attribute_group haps_attr_group = {*/ static void toshiba_haps_notify (struct acpi_device *device,u32 event) { -pr_debug ("Received event: 0x%x" , event); +pr_debug ("Received event: 0x%x\n" , event); acpi_bus_generate_netlink_event(device->pnp.device_class, dev_name(&device->dev),
Signature · 1 line
2.31.1
Hi,
Quoted 6 lines · Hans de Goede
The
pr_debug()call intoshiba_haps_notify()is missing a newline at the end of the string, add this.BugLink https://bugs.debian.org/799193Reported-by Salvatore Bonaccorso <[email protected]>Signed-off-by Hans de Goede <[email protected]>
Since this is trivial I've added it to my review-hans branch right away.
Regards,
Hans
Quoted 18 lines
--- drivers/platform/x86/toshiba_haps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/platform/x86/toshiba_haps.c +1
-1@@ -131,7 +131,7 @@ static const struct attribute_group haps_attr_group = {*/ static void toshiba_haps_notify (struct acpi_device *device,u32 event) { -pr_debug ("Received event: 0x%x" , event); +pr_debug ("Received event: 0x%x\n" , event); acpi_bus_generate_netlink_event(device->pnp.device_class, dev_name(&device->dev),