Fix or deviate various instances of missing declarations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest8 patches 11 repliesIn review
- v58 patches 11 repliesSuperseded
- v48 patches 22 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 8 patches | 10 replies | Superseded | |
| v2 | 7 patches | 25 replies | Superseded | |
| v1 | 7 patches | 10 replies | Superseded |
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | xen: modify or add declarations for variables where neededxen/ xen/ xen/ +3 more | +13 | 1 reply | |
| 2/8 | x86: add deviation for asm-only functionsautomation/ docs/ xen/ +8 more | +30 | 5 replies | |
| 3/8 | x86: add asmlinkage macro to variables only used in asm codexen/ | +5 | 2 replies | |
| 4/8 | x86/grant: switch included header to make declarations visiblexen/ xen/ | +3 | 0 replies | |
| 5/8 | x86/vm_event: add missing include for hvm_vm_event_do_resumexen/ | +1 | 0 replies | |
| 6/8 | xen/console: remove stub definition in consoled.hxen/ | +0 | 0 replies | |
| 7/8 | x86/mem_access: make function staticxen/ | +3 | 0 replies | |
| 8/8 | docs/misra: exclude three more filesdocs/ | +12 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Stabellini | Jan Beulich | Tamas K Lengyel |
|---|---|---|---|
| 1/8 | R-b | A-b | |
| 2/8 | R-b | A-b | |
| 3/8 | R-b | A-b | |
| 4/8 | R-b | A-b | |
| 5/8 | A-b | ||
| 6/8 | R-b | ||
| 7/8 | A-b | ||
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [XEN PATCH][for-4.19 v6 0/8] Fix or deviate various instances of missing declarations
The patches in this series aim to fix or deviate various instances where a function or variable do not have a declaration visible when such entity is defined (in violation of MISRA C:2012 Rule 8.4).
An exception listed under docs/misra/rules.rst allows asm-only functions and variables to be exempted, while the other instances are either changed (e.g., making them static) or a missing header inclusion is added.
Nicola Vetrini (8):
xen: modify or add declarations for variables where needed
x86: add deviation for asm-only functions
x86: add asmlinkage macro to variables only used in asm code x86/grant: switch included header to make declarations visible x86/vm_event: add missing include for hvm_vm_event_do_resume xen/console: remove stub definition in consoled.h x86/mem_access: make function static
docs/misra: exclude three more files
automation/eclair_analysis/ECLAIR/deviations.ecl | 9 +++++++++ docs/misra/deviations.rst | 6 ++++++ docs/misra/exclude-list.json | 12 ++++++++++++ xen/arch/arm/include/asm/setup.h | 3 +++ xen/arch/arm/include/asm/smp.h | 3 +++ xen/arch/arm/platform_hypercall.c | 2 +- xen/arch/x86/cpu/mcheck/mce.c | 7 ++++--- xen/arch/x86/hvm/grant_table.c | 3 +-- xen/arch/x86/hvm/svm/intr.c | 2 +- xen/arch/x86/hvm/svm/nestedsvm.c | 2 +- xen/arch/x86/hvm/svm/svm.c | 4 ++-- xen/arch/x86/hvm/vm_event.c | 1 + xen/arch/x86/hvm/vmx/intr.c | 2 +- xen/arch/x86/hvm/vmx/vmx.c | 4 ++-- xen/arch/x86/hvm/vmx/vvmx.c | 2 +- xen/arch/x86/include/asm/hvm/grant_table.h | 2 ++ xen/arch/x86/irq.c | 2 +- xen/arch/x86/mm/mem_access.c | 6 +++--- xen/arch/x86/setup.c | 8 +++++--- xen/arch/x86/traps.c | 2 +- xen/arch/x86/x86_64/traps.c | 2 +- xen/include/xen/compiler.h | 5 +++++ xen/include/xen/consoled.h | 7 ------- xen/include/xen/symbols.h | 1 + 24 files changed, 67 insertions(+), 30 deletions(-)
Signature · 1 line
2.34.1