[GIT PULL] ARC updates for 4.7-rc1

Linus Torvalds torvalds at linux-foundation.org
Thu May 19 13:34:48 PDT 2016


On Wed, May 18, 2016 at 11:24 PM, Vineet Gupta
<Vineet.Gupta1 at synopsys.com> 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



More information about the linux-snps-arc mailing list