diff options
| author | Antoine Tenart <[email protected]> | 2018-06-22 09:50:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-06-23 01:42:02 +0000 |
| commit | c2cd650b5b2bd6b57f2f62be65b1a8a576d4de6d (patch) | |
| tree | 29ef03e178fed8cf07eb78f99ba0cec0b9d09841 /tools/perf/scripts/python/sched-migration.py | |
| parent | net: mvneta: fix the Rx desc DMA address in the Rx path (diff) | |
| download | kernel-c2cd650b5b2bd6b57f2f62be65b1a8a576d4de6d.tar.gz kernel-c2cd650b5b2bd6b57f2f62be65b1a8a576d4de6d.zip | |
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: 08d02364b12f ("net: mscc: fix the injection header")
Signed-off-by: Antoine Tenart <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
