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

Kumar Gala
2012-09-22T13:57:37Z

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

- k