From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Subject: Re: [PATCH] Fix argument type for acpi_evaluate_integer in acpi_get_physical_pci_device Date: Wed, 12 Nov 2008 20:34:07 +0300 Message-ID: <200811122034.08092.arvidjaar@mail.ru> References: <200811031216.15690.arvidjaar@mail.ru> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart18603602.VjaherT0so"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Return-path: Received: from mx39.mail.ru ([194.67.23.35]:64796 "EHLO mx39.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920AbYKLReN (ORCPT ); Wed, 12 Nov 2008 12:34:13 -0500 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Len Brown Cc: linux-acpi@vger.kernel.org, Linux Kernel Mailing List --nextPart18603602.VjaherT0so Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 12 November 2008, Len Brown wrote: > unclear what kernel this is supposed to apply to. >=20 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: >=20 > > Subject: [PATCH] Fix argument type for acpi_evaluate_integer in acpi_ge= t_physical_pci_device > > From: Andrey Borzenkov > >=20 > > CC drivers/acpi/glue.o > > /home/bor/src/linux-git/drivers/acpi/glue.c: In function 'acpi_get_phys= ical_pci_device': > > /home/bor/src/linux-git/drivers/acpi/glue.c:157: warning: passing argum= ent 4 of 'acpi_evaluate_integer' from incompatible pointer type > >=20 > > acpi_evaluate_integer takes pointer to unsigned long long as fourth arg= ument > >=20 > > Signed-off-by: Andrey Borzenkov > >=20 > > --- > >=20 > > drivers/acpi/glue.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > >=20 > >=20 > > 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; > > =20 > > status =3D > >=20 >=20 >=20 --nextPart18603602.VjaherT0so Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkkbE48ACgkQR6LMutpd94ysiQCdEvh0C50/IIZlvZOJHtYbJwOw i+4AoJiquPec9lg0Zr70rppTrhahU7Kf =c9im -----END PGP SIGNATURE----- --nextPart18603602.VjaherT0so--