Re: [XEN PATCH v4] misra: address violation of MISRA C Rule 10.1

2025-07-15 Thread Jan Beulich
On 14.07.2025 19:53, Dmytro Prokopchuk1 wrote: > Rule 10.1: Operands shall not be of an > inappropriate essential type > > The following are non-compliant: > - boolean used as a numeric value. > > The result of the '__isleap' macro is a boolean. > Suppress analyser tool finding. > > The result o

[XEN PATCH v4] misra: address violation of MISRA C Rule 10.1

2025-07-14 Thread Dmytro Prokopchuk1
Rule 10.1: Operands shall not be of an inappropriate essential type The following are non-compliant: - boolean used as a numeric value. The result of the '__isleap' macro is a boolean. Suppress analyser tool finding. The result of 'NOW() > timeout' is a boolean, which is compared to a numeric va