RE: [PATCH 19/37] xen/x86: promote VIRTUAL_BUG_ON to ASSERT in

2022-01-17 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月18日 0:22 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 19/37] xen/x86: promote VIRTUAL_BUG_ON to ASSERT in >

Re: [PATCH 19/37] xen/x86: promote VIRTUAL_BUG_ON to ASSERT in

2022-01-17 Thread Jan Beulich
On 23.09.2021 14:02, Wei Chen wrote: > VIRTUAL_BUG_ON that is using in phys_to_nid is an empty macro. This > results in two lines of error-checking code in phys_to_nid are not > actually working. It also covers up two compilation errors: > 1. error: ‘MAX_NUMNODES’ undeclared (first use in this

[PATCH 19/37] xen/x86: promote VIRTUAL_BUG_ON to ASSERT in

2021-09-23 Thread Wei Chen
VIRTUAL_BUG_ON that is using in phys_to_nid is an empty macro. This results in two lines of error-checking code in phys_to_nid are not actually working. It also covers up two compilation errors: 1. error: ‘MAX_NUMNODES’ undeclared (first use in this function). This is because MAX_NUMNODES is