Re: [PATCH 2/3] ACPI / PM: Make messages in acpi_device_set_power() print device names

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

 



Hello.

On 29-07-2013 16:17, Rafael J. Wysocki wrote:

[...]

@@ -166,20 +166,20 @@ int acpi_device_set_power(struct acpi_de
[]
         if (device->parent && (state < device->parent->power.state)) {
-               printk(KERN_WARNING PREFIX
-                             "Cannot set device to a higher-powered"
-                             " state than parent\n");
+               dev_warn(&device->dev, "Cannot transition to a higher-powered "
+                        "state than parent\n");

coalesce format please.

I can, but then it'll cross the 80 columns boundary.

It's not a problem with checkpatch.pl anymore. Contrariwise, it whines about the broken up string literals, AFAIR.

Thanks,
Rafael

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux