Re: [PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-18 Thread Stefano Stabellini
On Mon, 16 Dec 2024, Jan Beulich wrote: > On 13.12.2024 15:02, Alessandro Zucchelli wrote: > > On 2024-12-13 11:08, Jan Beulich wrote: > >> On 13.12.2024 01:53, Stefano Stabellini wrote: > >>> On Thu, 12 Dec 2024, Jan Beulich wrote: > On 12.12.2024 03:27, Stefano Stabellini wrote: > > On W

Re: [PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-15 Thread Jan Beulich
On 13.12.2024 15:02, Alessandro Zucchelli wrote: > On 2024-12-13 11:08, Jan Beulich wrote: >> On 13.12.2024 01:53, Stefano Stabellini wrote: >>> On Thu, 12 Dec 2024, Jan Beulich wrote: On 12.12.2024 03:27, Stefano Stabellini wrote: > On Wed, 11 Dec 2024, Jan Beulich wrote: >> On 11.12.

Re: [PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-13 Thread Stefano Stabellini
On Fri, 13 Dec 2024, Alessandro Zucchelli wrote: > On 2024-12-13 11:08, Jan Beulich wrote: > > On 13.12.2024 01:53, Stefano Stabellini wrote: > > > On Thu, 12 Dec 2024, Jan Beulich wrote: > > > > On 12.12.2024 03:27, Stefano Stabellini wrote: > > > > > On Wed, 11 Dec 2024, Jan Beulich wrote: > > >

Re: [PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-13 Thread Alessandro Zucchelli
On 2024-12-13 11:08, Jan Beulich wrote: On 13.12.2024 01:53, Stefano Stabellini wrote: On Thu, 12 Dec 2024, Jan Beulich wrote: On 12.12.2024 03:27, Stefano Stabellini wrote: On Wed, 11 Dec 2024, Jan Beulich wrote: On 11.12.2024 12:02, Alessandro Zucchelli wrote: Rule 11.1 states as following

Re: [PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-13 Thread Jan Beulich
On 13.12.2024 01:53, Stefano Stabellini wrote: > On Thu, 12 Dec 2024, Jan Beulich wrote: >> On 12.12.2024 03:27, Stefano Stabellini wrote: >>> On Wed, 11 Dec 2024, Jan Beulich wrote: On 11.12.2024 12:02, Alessandro Zucchelli wrote: > Rule 11.1 states as following: "Conversions shall not be

Re: [PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-12 Thread Stefano Stabellini
On Thu, 12 Dec 2024, Jan Beulich wrote: > On 12.12.2024 03:27, Stefano Stabellini wrote: > > On Wed, 11 Dec 2024, Jan Beulich wrote: > >> On 11.12.2024 12:02, Alessandro Zucchelli wrote: > >>> Rule 11.1 states as following: "Conversions shall not be performed > >>> between a pointer to a function a

Re: [PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-12 Thread Jan Beulich
On 12.12.2024 03:27, Stefano Stabellini wrote: > On Wed, 11 Dec 2024, Jan Beulich wrote: >> On 11.12.2024 12:02, Alessandro Zucchelli wrote: >>> Rule 11.1 states as following: "Conversions shall not be performed >>> between a pointer to a function and any other type". >>> >>> Functions "__machine_r

Re: [PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-11 Thread Stefano Stabellini
On Wed, 11 Dec 2024, Jan Beulich wrote: > On 11.12.2024 12:02, Alessandro Zucchelli wrote: > > Rule 11.1 states as following: "Conversions shall not be performed > > between a pointer to a function and any other type". > > > > Functions "__machine_restart" and "__machine_halt" in "x86/shutdown.c"

Re: [PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-11 Thread Jan Beulich
On 11.12.2024 12:02, Alessandro Zucchelli wrote: > Rule 11.1 states as following: "Conversions shall not be performed > between a pointer to a function and any other type". > > Functions "__machine_restart" and "__machine_halt" in "x86/shutdown.c" > and "halt_this_cpu" in "arm/shutdown.c" are defi

[PATCH] xen: address violation of MISRA C Rule 11.1

2024-12-11 Thread Alessandro Zucchelli
Rule 11.1 states as following: "Conversions shall not be performed between a pointer to a function and any other type". Functions "__machine_restart" and "__machine_halt" in "x86/shutdown.c" and "halt_this_cpu" in "arm/shutdown.c" are defined as noreturn functions and subsequently passed as parame