mbox series

[0/2] Address violations of MISRA C:2012 Rule 5.3

Message ID cover.1718380780.git.alessandro.zucchelli@bugseng.com (mailing list archive)
Headers show
Series Address violations of MISRA C:2012 Rule 5.3 | expand

Message

Alessandro Zucchelli June 14, 2024, 4:12 p.m. UTC
This addresses violations of MISRA C:2012 Rule 5.3 which states as
following: An identifier declared in an inner scope shall not hide an
identifier declared in an outer scope.

In this series are modified files x86/mm.c and x86/e820.c in which occurred
instances of variable names shadowing a global variable; these patches are aimed
to remove said occurrences leading to partial compliance under MISRA C:2012
Rule 5.3.

No functional change.

Alessandro Zucchelli (2):
  x86/mm address violations of MISRA C:2012 Rule 5.3
  x86/e820 address violations of MISRA C:2012 Rule 5.3

 xen/arch/x86/e820.c | 74 ++++++++++++++++++++++-----------------------
 xen/arch/x86/mm.c   | 12 ++++----
 2 files changed, 43 insertions(+), 43 deletions(-)