diff options
author | Simon Horman <horms@kernel.org> | 2024-10-11 12:20:00 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-15 14:59:26 +0300 |
commit | de306f0051ae947680a13c13a9fd9373d7460bb1 (patch) | |
tree | 3f8230f94dc9e1b976a775b7475b4df32631e1cd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bb9df28e6fcda6a96860e7b77f3912ef50e06793 (diff) | |
download | linux-de306f0051ae947680a13c13a9fd9373d7460bb1.tar.xz |
net: gianfar: Use __be64 * to store pointers to big endian values
Timestamp values are read using pointers to 64-bit big endian values.
But the type of these pointers is u64 *, host byte order.
Use __be64 * instead.
Flagged by Sparse:
.../gianfar.c:2212:60: warning: cast to restricted __be64
.../gianfar.c:2475:53: warning: cast to restricted __be64
Introduced by
commit cc772ab7cdca ("gianfar: Add hardware RX timestamping support").
Compile tested only.
No functional change intended.
Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Link: https://patch.msgid.link/20241011-gianfar-be64-v1-1-a77ebe972176@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions