On Wed, 23 Apr 2025, [email protected] wrote: > From: Federico Serafini <[email protected]> > > MISRA C Rule 5.5 states that: > "Identifiers shall be distinct from macro names". > > A common pattern in Xen is to have a function-like macro that acts as a > "wrapper" for the function to be called: > before calling the function, the macro adds additional checks or > increase/decrease the number of parameters depending on the > configuration. > > Update ECLAIR configuration and deviations.rst. > > Signed-off-by: Federico Serafini <[email protected]> > Signed-off-by: Victor Lira <[email protected]>
This is something we have already discussed in the past and accepted, but we were missing the ECLAIR configuration for the deviation. Thanks Federico for producing it. Reviewed-by: Stefano Stabellini <[email protected]> I understand Jan asked for being more precise with the wording and I am OK with that.
