Hi Stephen,

On Wed, Oct 21, 2015 at 11:32 AM, Stephen Warren <swar...@wwwdotorg.org> wrote:
> On 10/05/2015 10:45 AM, Joe Hershberger wrote:
>>
>> On Fri, Oct 2, 2015 at 6:44 PM, Stephen Warren <swar...@wwwdotorg.org>
>> wrote:
>>>
>>> From: Stephen Warren <swar...@nvidia.com>
>>>
>>> Casting from dev->priv to pci_dev_t changes the value's size on a 64-bit
>>> system. This causes the compiler to complain about casting a pointer to
>>> an
>>> integer of a different (smaller) size. To avoid this, cast to an integer
>>> of matching size first, then perform an int->int cast to perform the size
>>> change. This signals explicitly that we do want to change the size, and
>>> avoids the compiler warning. This is legitimate since we know the pointer
>>> actually stores a small integer, not a pointer value.
>>>
>>> Signed-off-by: Stephen Warren <swar...@nvidia.com>
>>
>>
>> Acked-by: Joe Hershberger <joe.hershber...@ni.com>
>
>
> Joe, this patch appears to be assigned to you in patchwork. Will you apply
> it now the merge window is open, or are you assuming it will go through the
> Tegra tree with all the PCIe patches?

I'll pull it in soon.

-Joe
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to