Re: [GIT PULL] ARC updates for 4.7-rc1

From: Vineet Gupta
Date: Fri May 20 2016 - 00:03:30 EST


On Friday 20 May 2016 02:04 AM, Linus Torvalds wrote:
> On Wed, May 18, 2016 at 11:24 PM, Vineet Gupta
> <Vineet.Gupta1@xxxxxxxxxxxx> wrote:
>>
>> The highlight is support for EZChip (now Mellanox) NPS-400 network processor [..]
>
> Oh, and that brought in the
>
> drivers/irqchip/irq-eznps.c
>
> driver that is compile-test enabled.
>
> And that driver is not 64-bit clean:
>
> In file included from drivers/irqchip/irq-eznps.c:39:0:
> include/soc/nps/common.h: In function ânps_host_reg_non_clâ:
> include/soc/nps/common.h:148:9: warning: cast to pointer from
> integer of different size [-Wint-to-pointer-cast]
> return (void *)reg_address.value;
> ^
> include/soc/nps/common.h: In function ânps_host_regâ:
> include/soc/nps/common.h:162:9: warning: cast to pointer from
> integer of different size [-Wint-to-pointer-cast]
> return (void *)reg_address.value;
> ^
>
> so it needs to either be disabled or fixed. Annoying everybody else
> with warnings is not an option.

Sorry about that. We already have a fix from Arnd which was just waiting for
things to settle down per discussion here:

https://lkml.org/lkml/2016/5/13/132

I guess it was wrong call on my part to not include it in this pull request.

Another lesson learnt to not add other subsys stuff via your tree. I should have
merged the new soc header in 4.6 and paved way for NPS changes via other trees.
Live and learn !

Is inline patch below OK or else I can send a pull request:

----------->