[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN PATCH] automation/eclair_analysis: deviate certain macros for Rule 20.12



On 2024-02-14 16:45, Jan Beulich wrote:
On 14.02.2024 16:31, Nicola Vetrini wrote:
On 2024-02-14 12:49, Jan Beulich wrote:
On 14.02.2024 12:26, Nicola Vetrini wrote:
+-config=MC3R1.R20.12,macros+={deliberate,
"name(ASSERT||BUILD_BUG_ON||BUILD_BUG_ON_ZERO||GENERATE_CASE)"}

I said in another context already that it is necessary to separate
global scope macros from local helper ones. Any CU can introduce
another
GENERATE_CASE(), and would be deviated here right away. In fact I
question applicability of the deviation to arm/arm64/vsysreg.c; I only
see it as applicable to arm/vcpreg.c.

Why wouldn't this be applicable for vsysreg.c? I can certainly fine-tune
the deviation, if needed

There the sole macro parameter is used in only one of the possible ways,
with ##, unless I'm overlooking something. Aiui it is mixed use which
would need a deviation.

I see. In that case I'll restrict the deviation, thanks.

--
Nicola Vetrini, BSc
Software Engineer, BUGSENG srl (https://bugseng.com)



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.