Re: [PATCH] add more MISRA C rules to docs/misra/rules.rst

2022-06-13 Thread Jan Beulich
On 10.06.2022 23:24, Stefano Stabellini wrote: > On Fri, 10 Jun 2022, Jan Beulich wrote: >> On 10.06.2022 02:48, Stefano Stabellini wrote: >>> + * - `Rule 14.1 >>> `_ >>> + - Required >>> + - A loop coun

Re: [PATCH] add more MISRA C rules to docs/misra/rules.rst

2022-06-10 Thread Stefano Stabellini
On Fri, 10 Jun 2022, Jan Beulich wrote: > On 10.06.2022 02:48, Stefano Stabellini wrote: > > + * - `Rule 5.3 > > `_ > > + - Required > > + - An identifier declared in an inner scope shall not hide an > >

Re: [PATCH] add more MISRA C rules to docs/misra/rules.rst

2022-06-10 Thread Roger Pau Monné
On Thu, Jun 09, 2022 at 05:48:26PM -0700, Stefano Stabellini wrote: > Add the new MISRA C rules agreed by the MISRA C working group to > docs/misra/rules.rst. > > Signed-off-by: Stefano Stabellini > > --- > > I added the rules that we agreed upon this morning together with all the > notes we di

Re: [PATCH] add more MISRA C rules to docs/misra/rules.rst

2022-06-10 Thread Jan Beulich
On 10.06.2022 02:48, Stefano Stabellini wrote: > + * - `Rule 5.3 > `_ > + - Required > + - An identifier declared in an inner scope shall not hide an > + identifier declared in an outer scope > +

Re: [PATCH] add more MISRA C rules to docs/misra/rules.rst

2022-06-10 Thread Julien Grall
Hi Stefano, On 10/06/2022 01:48, Stefano Stabellini wrote: Add the new MISRA C rules agreed by the MISRA C working group to docs/misra/rules.rst. Signed-off-by: Stefano Stabellini Acked-by: Julien Grall Cheers, --- I added the rules that we agreed upon this morning together with all th

Re: [PATCH] add more MISRA C rules to docs/misra/rules.rst

2022-06-10 Thread Bertrand Marquis
Hi Stefano, > On 10 Jun 2022, at 01:48, Stefano Stabellini wrote: > > Add the new MISRA C rules agreed by the MISRA C working group to > docs/misra/rules.rst. The notes are now used to give more explanations or document deviations. We might need a proper entry in the table at some point but I t

[PATCH] add more MISRA C rules to docs/misra/rules.rst

2022-06-09 Thread Stefano Stabellini
Add the new MISRA C rules agreed by the MISRA C working group to docs/misra/rules.rst. Signed-off-by: Stefano Stabellini --- I added the rules that we agreed upon this morning together with all the notes we discussed, in particular: - macros as macro parameters at invocation time for Rule 5.3