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

From: Linus Torvalds
Date: Thu May 19 2016 - 16:34:54 EST


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.

Linus