aboutsummaryrefslogtreecommitdiff
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-10-17 16:30:57 +0200
committerDavid S. Miller <[email protected]>2016-10-17 13:07:52 -0400
commitea939008c2d7cade2cbedea5dcbd689e4415f3ed (patch)
treeaf24c8d60bb7d6a49627f6a00dc6edecd290b118 /lib/vsprintf.c
parent3aaf8630bf104906043211bafdf491a889972502 (diff)
fjes: fix format string for trace output
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions