platform/x86: toshiba_haps: Fix missing newline in pr_debug call in toshiba_haps_notify
authorHans de Goede <hdegoede@redhat.com>
Wed, 19 May 2021 13:56:18 +0000 (15:56 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 31 Jan 2024 21:14:09 +0000 (22:14 +0100)
Origin: https://git.kernel.org/linus/7dc4a18d017ca26abd1cea197e486fb3e5cd7632
Bug-Debian: https://bugs.debian.org/799193

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 <carnil@debian.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210519135618.139701-1-hdegoede@redhat.com
Gbp-Pq: Topic bugfix/x86
Gbp-Pq: Name platform-x86-toshiba_haps-Fix-missing-newline-in-pr_.patch

drivers/platform/x86/toshiba_haps.c

index b237bd6b1ee54f4b90449d864acd3b0ab2774fe7..49e84095bb010739b23c6aa1e7e915905810ce61 100644 (file)
@@ -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),