On Thu, Jan 15, 2026 at 10:21 AM Jason Andryuk <[email protected]>
wrote:

> On 2026-01-15 04:28, Penny Zheng wrote:
> > Memory access and ALTP2M are two seperate features, while both depending
> on
> > helper xenmem_access_to_p2m_access(). So it betters lives in common
> p2m.c,
> > other than mem_access.c which will be compiled out when VM_EVENT=n &&
> ALTP2M=y.
> > Guard xenmem_access_to_p2m_access() with VM_EVENT || ALTP2M, otherwise it
> > will become unreachable when both VM_EVENT=n and ALTP2M=n, and hence
> > violating Misra rule 2.1
> > We also need to move declaration from mem_access.h to p2m-common.h
> > An extra blank line is inserted after each case-block to correct coding
> > style at the same time.
> >
> > Signed-off-by: Penny Zheng <[email protected]>
> > Acked-by: Jan Beulich <[email protected]>
>
> Reviewed-by: Jason Andryuk <[email protected]>
>

Acked-by: Tamas K Lengyel <[email protected]>

Reply via email to