diff options
| author | Andrew Lunn <andrew@lunn.ch> | 2020-07-05 22:36:24 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-05 15:45:38 -0700 |
| commit | f76b6ef11c5723e840c1fc49587d267297352e9e (patch) | |
| tree | 65430eb1427ad04ff0497c3d1f0c388579f497cb /tools/perf/scripts/python/stackcollapse.py | |
| parent | net: dsa: b53: Fixup endianness warnings (diff) | |
| download | linux-f76b6ef11c5723e840c1fc49587d267297352e9e.tar.gz linux-f76b6ef11c5723e840c1fc49587d267297352e9e.zip | |
net: dsa: bcm_sf2: Initialize __be16 with a __be16 value
A __be16 variable should be initialised with a __be16 value. So add a
htons(). In this case it is pointless, given the value being assigned
is 0xffff, but it stops sparse from warnings.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
