|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH 1/7] xen/shutdown: address MISRA C:2012 Rule 2.1
On 2023-12-12 10:45, Jan Beulich wrote: On 11.12.2023 11:30, Nicola Vetrini wrote:Given that 'hwdom_shutdown' is a noreturn function, unreachable breaks can be eliminated to resolve violations of Rule 2.1. On the occasion, the type of its parameter is changed to uint8_t.I don't particularly mind that extra change, but it's entirely unrelatedhere. We do such when we touch lines (or maybe adjacent lines) anyway, but here you had no need to touch either declaration or the header of the definition. Ok. I can make this a separate patch, since I'm already touching the function
Something like "reboot_or_halt" would be okay? -- Nicola Vetrini, BSc Software Engineer, BUGSENG srl (https://bugseng.com)
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |