On 03-Sep-26 13:52, Jan Beulich wrote:
> Compound literals are also covered by Misra C:2012 rule 13.1
> ("Initializer lists shall not contain persistent side effects"), and
> (sadly?) that rule also applies to lists with just a single element, or
> more generally with just a single side effect. Use intermediate variables
> to overcome this.
>
> No functional change intended.
>
> Signed-off-by: Jan Beulich <[email protected]>
Reviewed-by: Michal Orzel <[email protected]>
~Michal
- [PATCH 0/4] address remaining rule 13.1 violations; mark ... Jan Beulich
- [PATCH 1/4] x86/pagewalk: avoid ACCESS_ONCE() in com... Jan Beulich
- Re: [PATCH 1/4] x86/pagewalk: avoid ACCESS_ONCE(... Roger Pau Monné
- Re: [PATCH 1/4] x86/pagewalk: avoid ACCESS_O... Jan Beulich
- Re: [PATCH 1/4] x86/pagewalk: avoid ACCE... Roger Pau Monné
- [PATCH 2/4] Arm/guestcopy: avoid use of "curren... Jan Beulich
- Re: [PATCH 2/4] Arm/guestcopy: avoid use of &quo... Orzel, Michal
- [PATCH 3/4] sched/core: avoid use of "current&q... Jan Beulich
- Re: [PATCH 3/4] sched/core: avoid use of "c... Jürgen Groß
- Re: [PATCH 3/4] sched/core: avoid use of &qu... Jan Beulich
- Re: [PATCH 3/4] sched/core: avoid use of... Jürgen Groß
- [PATCH 4/4] automation/Eclair: tag rule 13.1 as clea... Jan Beulich
- Re: [PATCH 4/4] automation/Eclair: tag rule 13.1... Nicola Vetrini
- [PATCH v1.1 3/4] sched/core: avoid use of "curr... Jan Beulich
- Re: [PATCH v1.1 3/4] sched/core: avoid use of &q... Jürgen Groß
- Re: [PATCH v1.1 3/4] sched/core: avoid use o... Jan Beulich
