Re: [PATCH] fjes: fix format string for trace output

From: David Miller
Date: Mon Oct 17 2016 - 13:08:50 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Mon, 17 Oct 2016 16:30:57 +0200

> phys_addr_t may be wider than a pointer and has to be printed
> using the special %pap format string, as pointed out by
> this new warning.
>
> arch/x86/include/../../../drivers/net/fjes/fjes_trace.h: In function ʽtrace_raw_output_fjes_hw_start_debug_reqʼ:
> arch/x86/include/../../../drivers/net/fjes/fjes_trace.h:212:563: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
>
> Note that this has to pass the address by reference instead of
> casting it to a different type.
>
> Fixes: b6ba737d0b29 ("fjes: ethtool -w and -W support for fjes driver")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

When a patch is targetting 'net-next' please indicate this in the
subject line by saying "[PATCH net-next]" etc. And likewise for
'net'.

Applied, thanks.