aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-11-20 12:14:51 +1100
committerJakub Kicinski <jakub.kicinski@netronome.com>2019-11-24 15:06:33 -0800
commitc392bccf2c1075b5d2cc9022d0116a516acb721d (patch)
tree632551955321257d53ace796a16e90dad67b49f5 /drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
parentMerge branch 'bnxt_en-Updates' (diff)
downloadlinux-dev-c392bccf2c1075b5d2cc9022d0116a516acb721d.tar.xz
linux-dev-c392bccf2c1075b5d2cc9022d0116a516acb721d.zip
powerpc: Add const qual to local_read() parameter
A patch in net-next triggered a compile error on powerpc: include/linux/u64_stats_sync.h: In function 'u64_stats_read': include/asm-generic/local64.h:30:37: warning: passing argument 1 of 'local_read' discards 'const' qualifier from pointer target type This seems reasonable to relax powerpc local_read() requirements. Fixes: 316580b69d0a ("u64_stats: provide u64_stats_t type") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: kbuild test robot <lkp@intel.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # build only Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c')
0 files changed, 0 insertions, 0 deletions