diff options
| author | Geert Uytterhoeven <[email protected]> | 2020-02-11 19:19:04 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-02-22 09:25:43 +0800 |
| commit | 5fabab0d36d333c1d182369c845f6c7546a4afb8 (patch) | |
| tree | a431308e818aa3ce7460025a523db1f9c481a4f0 /tools/perf/scripts/python | |
| parent | ba99b6f9bd59ff47ca5d1c9cfa4c6a6bd5499d76 (diff) | |
crypto: ccree - use existing helpers to split 64-bit addresses
Use the existing lower_32_bits() and upper_32_bits() macros instead of
explicit casts and shifts to split a 64-bit address in its two 32-bit
parts.
Drop the superfluous cast to "u16", as the FIELD_PREP() macro already
masks it to the specified field width.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions