diff options
| author | Jan Kiszka <[email protected]> | 2025-09-15 15:41:55 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-24 11:04:11 -0600 |
| commit | 44c4919e9dd6c162b237633ba689441eca9a149c (patch) | |
| tree | 74ba92f4db2c2ab089b89e1ae48fba02367af0a4 /scripts/checkpatch.pl | |
| parent | 7cae89bac47cd8e79c91034865e5a671334f73fd (diff) | |
test: Fix optee unit test
This was apparently not built for several years: Since a2535243e011,
optee_copy_fdt_nodes implicitly works against the U-Boot dt. We
therefore have to tweak its reference before using the function and
restore things afterwards.
If it had been built, actually trying it out would have failed next: We
need CONFIG_OPTEE_LIB to actually build the function that is primarily
being tested here. And we need to re-initialize target fdt, now that the
tests may run in random order.
Fixes: a2535243e011 ("lib: optee: migration optee_copy_fdt_nodes for OF_LIVE support")
Fixes: ba2feaf41435 ("test: Split optee tests into three functions")
Signed-off-by: Jan Kiszka <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
