xen/arm: tee: Fix MISRA findings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xen/arm: ffa: Fix local ffa_vm_count shadowingxen/ | +7 | 2 replies | |
| 2/2 | xen/arm: optee: Add MISRA-compliant switch default labelsxen/ | +11 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Michal Orzel | Jens Wiklander |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] xen/arm: tee: Fix MISRA findings
This series fixes two MISRA findings in the arm/tee mediators.
1. Rename a local variable in FF-A partition-info handling to avoid shadowing the global ffa_vm_count (Rule 5.3 report).
2. Add/document default switch labels in OP-TEE paths to satisfy Rule 16.4 checks.
This serie is based on "xen/arm: ffa: Add PARTITION_INFO_GET_REGS support" which is pending for merge in the tree so it must not be merged before it !!
The following pipeline executed on top of this serie shows that there are no findings anymore in xen/arch/arm/tee:
https://gitlab.com/xen-project/people/bmarquis/xen-ffa-research/-/pipelines/2395186683
Bertrand Marquis (2):
xen/arm: ffa: Fix local ffa_vm_count shadowing xen/arm: optee: Add MISRA-compliant switch default labels
xen/arch/arm/tee/ffa_partinfo.c | 14 +++++++------- xen/arch/arm/tee/optee.c | 11 +++++++++++ 2 files changed, 18 insertions(+), 7 deletions(-)
Signature · 1 line
2.52.0