Re: [PATCH] platform/x86: toshiba_haps: Fix missing newline in pr_debug call in toshiba_haps_notify

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>

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),
> 




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux