diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-09-28 14:17:20 +0200 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-10-06 17:28:52 +0530 |
| commit | 942aca232ec8e412160bdc9cd3331a63eaf1ff24 (patch) | |
| tree | 712e436c30bc598ad89f5f44a88f1b39c9ca7eb3 /lib/utils/timer | |
| parent | 9da30f6105565c920d1e27c08cb67284619d6984 (diff) | |
lib: utils: Simplify SET_ISA_EXT_MAP()
The define is hard to read. The continue statement does not do what was
intended.
* Remove do {} while (false);
* Change the name to set_multi_letter_ext
- Other local macros are lower case too.
- Refer to the fact that this is only used for multi-letter extensions.
Addresses-Coverity-ID: 1568359 Unexpected control flow
Fixes: d72f5f17478d ("lib: utils: Add detection of Smepmp from ISA string in FDT")
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Xiang W <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
