[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <05820f12-de32-c5bb-0780-75c43557e677@linux.intel.com>
Date: Tue, 14 May 2019 16:37:13 -0500
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: Vinod Koul <vkoul@...nel.org>,
"moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..."
<alsa-devel@...a-project.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Takashi Iwai <tiwai@...e.de>, Mark Brown <broonie@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Liam Girdwood <liam.r.girdwood@...ux.intel.com>,
jank@...ence.com, Joe Perches <joe@...ches.com>,
Srini Kandagatla <srinivas.kandagatla@...aro.org>,
Len Brown <lenb@...nel.org>,
Robert Moore <robert.moore@...el.com>,
Erik Schmauss <erik.schmauss@...el.com>,
"open list:ACPI" <linux-acpi@...r.kernel.org>,
"open list:ACPI COMPONENT ARCHITECTURE (ACPICA)" <devel@...ica.org>
Subject: Re: [alsa-devel] [PATCH v2] ACPI / device_sysfs: change _ADR
representation to 64 bits
>>>> diff --git a/drivers/acpi/device_sysfs.c b/drivers/acpi/device_sysfs.c
>>>> index 8940054d6250..7dda0ee05cd1 100644
>>>> --- a/drivers/acpi/device_sysfs.c
>>>> +++ b/drivers/acpi/device_sysfs.c
>>>> @@ -428,8 +428,10 @@ static ssize_t acpi_device_adr_show(struct device *dev,
>>>> {
>>>> struct acpi_device *acpi_dev = to_acpi_device(dev);
>>>>
>>>> - return sprintf(buf, "0x%08x\n",
>>>> - (unsigned int)(acpi_dev->pnp.bus_address));
>>>> + if (acpi_dev->pnp.bus_address > 0xFFFFFFFF)
>>>
>>> Would prefer to use U32_MAX instead of 0xFFFFFFFF
>>
>> I would.
>>
>
> I have made that change manually and applied the patch.
>
> Thanks!
Thanks, much appreciated.
Powered by blists - more mailing lists