1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/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 net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
Makefile net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot.c net: mscc: make sparse happy 2018-06-23 10:42:02 +09:00
ocelot.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_ana.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_board.c net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_dev.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_dev_gmii.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_hsio.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_io.c net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_qs.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_qsys.h net: mscc: Add SPDX identifier 2018-05-18 11:30:25 -04:00
ocelot_regs.c net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_rew.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
ocelot_sys.h net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00