diff options
| author | Christophe Leroy <[email protected]> | 2020-10-08 09:34:55 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-10-30 17:34:45 +1100 |
| commit | 195404db27f9533c71fdcb78d32a77075c2cb4a2 (patch) | |
| tree | 0ae60c1cf42a937b1b8ae60ae230356e9147fb3a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d72286943212fdb6d254d08d4cfccdc70603d0ca (diff) | |
crypto: talitos - Endianess in current_desc_hdr()
current_desc_hdr() compares the value of the current descriptor
with the next_desc member of the talitos_desc struct.
While the current descriptor is obtained from in_be32() which
return CPU ordered bytes, next_desc member is in big endian order.
Convert the current descriptor into big endian before comparing it
with next_desc.
This fixes a sparse warning.
Fixes: 37b5e8897eb5 ("crypto: talitos - chain in buffered data for ahash on SEC1")
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions