From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH 2/3] ACPI / PM: Make messages in acpi_device_set_power() print device names Date: Mon, 29 Jul 2013 16:16:31 +0400 Message-ID: <51F65D1F.9050402@cogentembedded.com> References: <10433383.dueoNg39qi@vostro.rjw.lan> <1375067513.2075.27.camel@joe-AO722> <1782275.A7JEhQIj8Q@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1782275.A7JEhQIj8Q@vostro.rjw.lan> Sender: linux-pm-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: Joe Perches , Lan Tianyu , ACPI Devel Maling List , LKML , Linux PM list , Yinghai Lu , Bjorn Helgaas , Aaron Lu , Tejun Heo , linux-ide@vger.kernel.org List-Id: linux-ide@vger.kernel.org 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