summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-12-08 18:17:29 +0300
committerDavid S. Miller <davem@davemloft.net>2015-12-09 06:51:56 +0300
commit8cde3e4425df26331dac4d0f1f7114c031728a3c (patch)
treeae7b4d0d79d784e92c40076e782ca2424a3d608d /tools/perf/scripts/python/export-to-postgresql.py
parent90186af404ada5a47b875bf3c16d0b02bb023ea0 (diff)
downloadlinux-8cde3e4425df26331dac4d0f1f7114c031728a3c.tar.xz
net: fsl: avoid 64-bit warning on pq_mdio
The pq_mdio driver can now be built for ARM64, where we get a format string warning: drivers/net/ethernet/freescale/fsl_pq_mdio.c: In function 'fsl_pq_mdio_probe': drivers/net/ethernet/freescale/fsl_pq_mdio.c:467:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] The argument is an implicit ptrdiff_t from the subtraction of two pointers, so we should use the %z format string modifier to make this work on 64-bit architectures. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: fe761bcb9046 ("net: fsl: expands dependencies of NET_VENDOR_FREESCALE") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions