Closed etienne-lms closed 4 months ago
Comment addressed, thanks gain for the macro. I've straight fix the commit instead of appending a fixup commit.
With my comment addressed:
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Macro name fixed. I also changed the license terms: it was BSD-3-Clause in my initial post, but I think BSD-2-Clause better applies since it is OP-TEE OS native license terms. With these 2 changes, I've applied your R-b tag that I think is still accurate.
Add
qsort_int()
,qsort_uint()
,qsort_u32()
and friends asqsort()
helper functions to sort standard typed arrays.I needed to use
qsort()
in few separated source files and needed to redefine locally thecmp_xxx()
callback so I think it's worth having some generic helper functions.