lkml.org 
[lkml]   [2018]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] ACPI: add missing newline to printk
Date
On Tuesday, April 10, 2018 7:10:38 PM CEST Laszlo Toth wrote:
> ...and restore reverse xmas tree while at it.
>
> Signed-off-by: Laszlo Toth <laszlth@gmail.com>
> ---
> drivers/acpi/reboot.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c
> index 71769fd..6fa9c2a 100644
> --- a/drivers/acpi/reboot.c
> +++ b/drivers/acpi/reboot.c
> @@ -8,8 +8,8 @@ void acpi_reboot(void)
> {
> struct acpi_generic_address *rr;
> struct pci_bus *bus0;
> - u8 reset_value;
> unsigned int devfn;
> + u8 reset_value;
>
> if (acpi_disabled)
> return;
> @@ -40,7 +40,7 @@ void acpi_reboot(void)
> /* Form PCI device/function pair. */
> devfn = PCI_DEVFN((rr->address >> 32) & 0xffff,
> (rr->address >> 16) & 0xffff);
> - printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG.");
> + printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG.\n");
> /* Write the value that resets us. */
> pci_bus_write_config_byte(bus0, devfn,
> (rr->address & 0xffff), reset_value);
>

Applied, thanks!


\
 
 \ /
  Last update: 2018-05-09 11:55    [W:0.032 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site