Re: [PATCH 5/5] xen/arm: address violations of MISRA C:2012 Rule 11.8

2023-11-30 Thread Jan Beulich
On 29.11.2023 18:50, Julien Grall wrote: > On 24/11/2023 17:29, Simone Ballarin wrote: >> --- a/xen/arch/arm/include/asm/regs.h >> +++ b/xen/arch/arm/include/asm/regs.h >> @@ -48,7 +48,7 @@ static inline bool regs_mode_is_32bit(const struct >> cpu_user_regs *regs) >> >> static inline bool gue

Re: [PATCH 5/5] xen/arm: address violations of MISRA C:2012 Rule 11.8

2023-11-29 Thread Julien Grall
Hi, On 24/11/2023 17:29, Simone Ballarin wrote: From: Maria Celeste Cesario Add or amend casts to comply with Rule 11.8. The violations are resolved either: - by adding a missing const qualifier in the cast - by removing a cast to non-const on a const-qualified object No functional change.

[PATCH 5/5] xen/arm: address violations of MISRA C:2012 Rule 11.8

2023-11-24 Thread Simone Ballarin
From: Maria Celeste Cesario Add or amend casts to comply with Rule 11.8. The violations are resolved either: - by adding a missing const qualifier in the cast - by removing a cast to non-const on a const-qualified object No functional change. Signed-off-by: Maria Celeste Cesario Signed-off-b