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

Kumar Gala galak at kernel.crashing.org
Sat Sep 22 15:57:37 CEST 2012


On Sep 21, 2012, at 5:34 PM, Anatolij Gustschin wrote:

> Hi,
> 
> On Wed, 19 Sep 2012 09:47:36 -0500
> Kumar Gala <galak at 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 at 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 at 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


More information about the U-Boot mailing list