diff options
author | Vladimir Oltean <[email protected]> | 2024-10-29 18:31:05 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-31 19:18:46 -0700 |
commit | 0144c06c5890d1ad0eea65df074cffaf4eea5a3c (patch) | |
tree | 832c19e3829a9b357183d110b8a5874614783308 /tools/perf/scripts/python/task-analyzer.py | |
parent | badccd49b93bb945bf4e5cc8707db67cdc5e27e5 (diff) |
net: dpaa_eth: print FD status in CPU endianness in dpaa_eth_fd tracepoint
Sparse warns:
note: in included file (through ../include/trace/trace_events.h,
../include/trace/define_trace.h,
../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h):
warning: incorrect type in assignment (different base types)
expected unsigned int [usertype] fd_status
got restricted __be32 const [usertype] status
We take struct qm_fd :: status, store it and print it as an u32,
though it is a big endian field. We should print the FD status in
CPU endianness for ease of debug and consistency between PowerPC and
Arm systems.
Though it is a not often used debug feature, it is best to treat it as
a bug and backport the format change to all supported stable kernels,
for consistency.
Fixes: eb11ddf36eb8 ("dpaa_eth: add trace points")
Signed-off-by: Vladimir Oltean <[email protected]>
Acked-by: Madalin Bucur <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions