mbox series

[XEN,v3,0/6] fix violations of MISRA C:2012 Rule 8.3 on parameter names.

Message ID cover.1687771796.git.federico.serafini@bugseng.com (mailing list archive)
Headers show
Series fix violations of MISRA C:2012 Rule 8.3 on parameter names. | expand

Message

Federico Serafini June 26, 2023, 9:52 a.m. UTC
To comply with Rule 8.3 ("All declarations of an object or function
shall use the same names and type qualifiers") change the parameter
names in order to have function declarations consistent with the
corresponding definitions.

Changes in v3:
  - split previous patch in multiple parts to facilitate review.
Changes in v2:
  - adapted parameter names in function definitions to the names used
    in function declarations when the context requires it;
  - reflected changes to the function identifier in order to maintain
    consistency with modifications on parameter names;
  - extended changes to definitions under xen/arch/arm/vgic

Federico Serafini (6):
  xen/arm: change names in function access_guest_memory_by_ipa().
  xen/arm: change parameter name 'vcpu' in domain() function definition.
  xen/arm: change parameter name 'pa' in ioremap_addr() definition.
  xen/arm: vgic: change parameter name in 'init' and 'free' functions.
  xen/arm: make parameter names of function declarations consistent.
  xen/arm: change parameter names in replace_grant_host_mapping().

 xen/arch/arm/domain.c                   | 10 +++++-----
 xen/arch/arm/guest_walk.c               |  6 +++---
 xen/arch/arm/guestcopy.c                |  2 +-
 xen/arch/arm/include/asm/fixmap.h       |  2 +-
 xen/arch/arm/include/asm/gic.h          |  2 +-
 xen/arch/arm/include/asm/gic_v3_its.h   |  5 +++--
 xen/arch/arm/include/asm/grant_table.h  |  4 ++--
 xen/arch/arm/include/asm/guest_access.h |  4 ++--
 xen/arch/arm/include/asm/irq.h          |  2 +-
 xen/arch/arm/include/asm/regs.h         |  2 +-
 xen/arch/arm/include/asm/vgic.h         |  4 ++--
 xen/arch/arm/mm.c                       | 20 ++++++++++----------
 xen/arch/arm/tee/optee.c                | 10 +++++-----
 xen/arch/arm/vgic-v3-its.c              | 16 ++++++++--------
 xen/arch/arm/vgic/vgic-init.c           | 12 ++++++------
 15 files changed, 51 insertions(+), 50 deletions(-)