[U-Boot] [PATCH] pci: fix some warnings related to assumptions about

Tom Rini
2012-09-22T17:45:19Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/22/12 06:57, Kumar Gala wrote:
>
> On Sep 21, 2012, at 5:34 PM, Anatolij Gustschin wrote:
>
>> Hi,
>>
>> On Wed, 19 Sep 2012 09:47:36 -0500 Kumar Gala
>> <galak@kernel.crashing.org> wrote:
>>
>>> The following commit introduced some warnings associated with
>>> using pci_addr_t instead of a proper 32-bit data type.
>>>
>>> commit af778c6d9e2b945ee03cbc53bb976238a3374f33 Author: Andrew
>>> Sharp <andywyse6@gmail.com> Date: Wed Aug 1 12:27:16 2012
>>> +0000
>>>
>>> pci: fix errant data types and corresponding access functions
>>>
>>> On some platforms pci_addr_t is defined as a 64-bit data type
>>> so its not proper to use with pci_{read,write}_config_dword.
>>>
>>> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> ---
>>> drivers/pci/pci.c | 6 +++--- drivers/pci/pci_auto.c |
>>> 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
>>
>> Applied to staging/agust at denx.de.
>>
>> Thanks, Anatolij
>
> Thanks,
>
> This should get in before v2012.10 is released

Staging branch was included in -rc1 so we should be good (and I
noticed the builds with warning set of powerpc went away).

- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQXfkuAAoJENk4IS6UOR1W2AUP/A9YxyD6u5F8bI6uQbFjCgvj
BEgEhc2KENHWX8gUYPvQMFQosCwDvAB4EOrb9a9ouC5ppHS7flzUZ1HwbCiSFim1
lBVT/MrpQGbxDwfbqNltEB3LbPWVY4uRnszRiUvW0y6FL9ikYx+v8JZZ5PVlAarE
dDaR1YoM7T+ePdyv3+fXegfBYIKQFEBFr3FRaF9KGwn6L8cqQKI3/9O33ofI1uiS
6devhuIQc7IT/vJPWoG5dFVDJSB+0EyDbhxqKXXDGhUIFs9wyywhgAb1qbHwZ4ec
vRBYstPbVAkWXxrWwxLBfvvwYSPVCZD8T9oiCIZay2XqjkEmIE7RdgVgNzidyb6e
1oSUvrHL+AZVbEhEdudbb6rmkXyb8hEcaiKWNkKhm6eoKIZVy5ZhqefuoSIdMPrV
IyN79zgmnOVOez0cTYJgzvV70zF4at2Xs335Aznb7AbvjB+pg0bm/NtY40aFIOMQ
UlniQDCCk5vXSnGymS0LbDy42F69rLtRw9zpR0oJkqiP/rT0+bKgHzCT3+O41p/7
ExuHzs7FP14i8lCS5Tnlvcgu1HxFvWnZZAqLZuDDL6aYr3XDDzPL3itSfNi3uZmD
Mc322A6A6wOldbYX3JvEyIZnNSpiikt0zHT6fjtTA/Inv/WlhpGOOMqJwtKyNavU
l4XjadVB8XPhEohWnm/v
=MKhp
-----END PGP SIGNATURE-----