mirror of https://gitee.com/openkylin/linux.git
c2cd650b5b
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ocelot.c | ||
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 |