lkml.org 
[lkml]   [2008]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Fix argument type for acpi_evaluate_integer in acpi_get_physical_pci_device
Date
On Wednesday 12 November 2008, Len Brown wrote:
> unclear what kernel this is supposed to apply to.
>

The patch was against 2.6.28-rc3 and applies to rc4 as well. Sorry
for not mentioning this (I thought I did)

> On Mon, 3 Nov 2008, Andrey Borzenkov 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 =
> >
>
>


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-11-12 18:37    [W:0.362 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site