Re: [XEN PATCH 01/11] x86/efi: move variable declaration to address MISRA C:2012 Rule 2.1

2023-08-04 Thread Nicola Vetrini
On 03/08/2023 10:57, Jan Beulich wrote: On 03.08.2023 04:08, Stefano Stabellini wrote: On Wed, 2 Aug 2023, Nicola Vetrini wrote: The variable declaration is moved where it's actually used, rather than being declared in the switch before any clause, thus being classified as unreachable code. No

Re: [XEN PATCH 01/11] x86/efi: move variable declaration to address MISRA C:2012 Rule 2.1

2023-08-03 Thread Jan Beulich
On 03.08.2023 04:08, Stefano Stabellini wrote: > On Wed, 2 Aug 2023, Nicola Vetrini wrote: >> The variable declaration is moved where it's actually used, rather >> than being declared in the switch before any clause, thus being >> classified as unreachable code. >> >> No functional changes. >> >> S

Re: [XEN PATCH 01/11] x86/efi: move variable declaration to address MISRA C:2012 Rule 2.1

2023-08-02 Thread Stefano Stabellini
On Wed, 2 Aug 2023, Nicola Vetrini wrote: > The variable declaration is moved where it's actually used, rather > than being declared in the switch before any clause, thus being > classified as unreachable code. > > No functional changes. > > Signed-off-by: Nicola Vetrini > --- > xen/arch/x86/ef

[XEN PATCH 01/11] x86/efi: move variable declaration to address MISRA C:2012 Rule 2.1

2023-08-02 Thread Nicola Vetrini
The variable declaration is moved where it's actually used, rather than being declared in the switch before any clause, thus being classified as unreachable code. No functional changes. Signed-off-by: Nicola Vetrini --- xen/arch/x86/efi/efi-boot.h | 5 ++--- 1 file changed, 2 insertions(+), 3 d