diff mbox series

platform/x86: toshiba_haps: Fix missing newline in pr_debug call in toshiba_haps_notify

Message ID 20210519135618.139701-1-hdegoede@redhat.com (mailing list archive)
State Accepted, archived
Headers show
Series platform/x86: toshiba_haps: Fix missing newline in pr_debug call in toshiba_haps_notify | expand

Commit Message

Hans de Goede May 19, 2021, 1:56 p.m. UTC
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>
---
 drivers/platform/x86/toshiba_haps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Hans de Goede May 19, 2021, 1:57 p.m. UTC | #1
Hi,

On 5/19/21 3:56 PM, Hans de Goede wrote:
> 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>

Since this is trivial I've added it to my review-hans branch right away.

Regards,

Hans


> ---
>  drivers/platform/x86/toshiba_haps.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/platform/x86/toshiba_haps.c b/drivers/platform/x86/toshiba_haps.c
> index b237bd6b1ee5..49e84095bb01 100644
> --- a/drivers/platform/x86/toshiba_haps.c
> +++ b/drivers/platform/x86/toshiba_haps.c
> @@ -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),
>
diff mbox series

Patch

diff --git a/drivers/platform/x86/toshiba_haps.c b/drivers/platform/x86/toshiba_haps.c
index b237bd6b1ee5..49e84095bb01 100644
--- a/drivers/platform/x86/toshiba_haps.c
+++ b/drivers/platform/x86/toshiba_haps.c
@@ -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),