Re: [PATCH] docs/misra: add Rule 16.4

2024-03-14 Thread Bertrand Marquis
Hi Stefano, > On 14 Mar 2024, at 00:04, Stefano Stabellini wrote: > > On Wed, 13 Mar 2024, Jan Beulich wrote: >> On 13.03.2024 01:28, Stefano Stabellini wrote: >>> --- a/docs/misra/rules.rst >>> +++ b/docs/misra/rules.rst >>> @@ -478,6 +478,30 @@ maintainers if you want to suggest a change. >>>

Re: [PATCH] docs/misra: add Rule 16.4

2024-03-14 Thread Jan Beulich
On 14.03.2024 00:04, Stefano Stabellini wrote: > On Wed, 13 Mar 2024, Jan Beulich wrote: >> On 13.03.2024 01:28, Stefano Stabellini wrote: >>> + Switch statements with integer types as controlling expression >>> + should have a default label: >>> + >>> + - if the switch is

Re: [PATCH] docs/misra: add Rule 16.4

2024-03-13 Thread Stefano Stabellini
On Wed, 13 Mar 2024, Jan Beulich wrote: > On 13.03.2024 01:28, Stefano Stabellini wrote: > > --- a/docs/misra/rules.rst > > +++ b/docs/misra/rules.rst > > @@ -478,6 +478,30 @@ maintainers if you want to suggest a change. > > - In addition to break, also other unconditional flow control > >

Re: [PATCH] docs/misra: add Rule 16.4

2024-03-13 Thread Jan Beulich
On 13.03.2024 01:28, Stefano Stabellini wrote: > --- a/docs/misra/rules.rst > +++ b/docs/misra/rules.rst > @@ -478,6 +478,30 @@ maintainers if you want to suggest a change. > - In addition to break, also other unconditional flow control statements > such as continue, return, goto are

[PATCH] docs/misra: add Rule 16.4

2024-03-12 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- I tested the rendered output and it is correct both on the gitlab UI as well as with tools like rst2html. --- docs/misra/rules.rst | 24 1 file changed, 24 insertions(+) diff --git a/docs/misra/rules.rst b/docs/misra/rules.rst index