diff options
author | Doug Berger <[email protected]> | 2020-06-24 18:14:54 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-24 21:51:03 -0700 |
commit | d966d2efb643a8ba925e910bfc10e19c8b018de7 (patch) | |
tree | 7d9daef81d1cd0119cd32e00e355aa2f50d9f237 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 673bafd5b8b0ec9b1e2eedca2a2be6b44ee5ba9c (diff) |
net: bcmgenet: use __be16 for htons(ETH_P_IP)
The 16-bit value that holds a short in network byte order should
be declared as a restricted big endian type to allow type checks
to succeed during assignment.
Fixes: 3e370952287c ("net: bcmgenet: add support for ethtool rxnfc flows")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Doug Berger <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions