From: Andrew Morton <akpm@linux-foundation.org>
To: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fix argument type for acpi_evaluate_integer in acpi_get_physical_pci_device
Date: Tue, 11 Nov 2008 14:24:39 -0800 [thread overview]
Message-ID: <20081111142439.b804bdd6.akpm@linux-foundation.org> (raw)
In-Reply-To: <200811031216.15690.arvidjaar@mail.ru>
On Mon, 3 Nov 2008 12:16:13 +0300
Andrey Borzenkov <arvidjaar@mail.ru> wrote:
> Subject: [PATCH] Fix argument type for acpi_evaluate_integer in acpi_get_physical_pci_device
> From: Andrey Borzenkov <arvidjaar@mail.ru>
>
> CC drivers/acpi/glue.o
> /home/bor/src/linux-git/drivers/acpi/glue.c: In function 'acpi_get_physical_pci_device':
> /home/bor/src/linux-git/drivers/acpi/glue.c:157: warning: passing argument 4 of 'acpi_evaluate_integer' from incompatible pointer type
>
> acpi_evaluate_integer takes pointer to unsigned long long as fourth argument
>
> Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
>
> ---
>
> drivers/acpi/glue.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
> index 98c9c76..436c8a3 100644
> --- a/drivers/acpi/glue.c
> +++ b/drivers/acpi/glue.c
> @@ -150,7 +150,7 @@ EXPORT_SYMBOL(acpi_get_physical_device);
> struct device *acpi_get_physical_pci_device(acpi_handle handle)
> {
> struct device *dev;
> - long device_id;
> + unsigned long long device_id;
> acpi_status status;
>
> status =
Someone has gone and changed this to `long long', which is still wrong
but which (surprisingly) doesn't seem to generate a compilation
warning.
next prev parent reply other threads:[~2008-11-11 22:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-03 9:16 [PATCH] Fix argument type for acpi_evaluate_integer in acpi_get_physical_pci_device Andrey Borzenkov
2008-11-11 22:24 ` Andrew Morton [this message]
2008-11-12 3:42 ` Andrey Borzenkov
2008-11-12 6:37 ` Len Brown
2008-11-12 17:34 ` Andrey Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081111142439.b804bdd6.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=arvidjaar@mail.ru \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox