linux-stable/drivers/net/ethernet/mscc
Antoine Tenart c2cd650b5b net: mscc: make sparse happy
This patch fixes a sparse warning about using an incorrect type in
argument 2 of ocelot_write_rix(), as an u32 was expected but a __be32
was given. The conversion to u32 is forced, which is safe as the value
will be written as-is in the hardware without any modification.

Fixes: 08d02364b1 ("net: mscc: fix the injection header")
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-23 10:42:02 +09:00
..
Kconfig
Makefile
ocelot.c net: mscc: make sparse happy 2018-06-23 10:42:02 +09:00
ocelot.h
ocelot_ana.h
ocelot_board.c
ocelot_dev.h
ocelot_dev_gmii.h
ocelot_hsio.h
ocelot_io.c
ocelot_qs.h
ocelot_qsys.h
ocelot_regs.c
ocelot_rew.h
ocelot_sys.h