[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH 09/13] xen/public: fixed violations of MISRA C:2012 Rule 7.2
Hi,
Il giorno mar 20 giu 2023 alle ore 15:00 Jan Beulich <jbeulich@xxxxxxxx> ha scritto: On 20.06.2023 12:35, Simone Ballarin wrote: In the analyzed build it is used: aarch64-linux-gnu-gcc-12 -MMD -MP -MF common/.vm_event.o.d -DBUILD_ID
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -Wno-unused-but-set-variable
-Wno-unused-local-typedefs -O1 -fno-omit-frame-pointer -nostdinc
-fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith
-Wvla -pipe -D__XEN__ -include ./include/xen/config.h
"-Wa,--strip-local-absolute" -g -mcpu=generic -mgeneral-regs-only
-mno-outline-atomics -I./include -I./arch/arm/include -fno-pie
-fno-stack-protector -fno-exceptions -fno-asynchronous-unwind-tables
-Wnested-externs -fprofile-arcs -ftest-coverage -c common/vm_event.c -o
common/vm_event.o xen/common/vm_event.c: 85 FRONT_RING_INIT(&ved->front_ring, 86 (vm_event_sring_t *)ved->ring_page, The expansions that lead to __RD32 are: FRONT_RING_INIT -> FRONT_RING_ATTACH -> __RING_SIZE -> __RD32
If not clearly connected I suggest discussing one rule at a time.
--
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |