Re: [XEN PATCH 04/10] xen/public: address violations of MISRA C Rule 20.7

2024-03-05 Thread Nicola Vetrini
On 2024-03-05 11:26, Jan Beulich wrote: On 05.03.2024 11:21, Nicola Vetrini wrote: On 2024-02-29 23:49, Stefano Stabellini wrote: On Thu, 29 Feb 2024, Nicola Vetrini wrote: On 2024-02-29 17:40, Jan Beulich wrote: On 29.02.2024 16:27, Nicola Vetrini wrote: --- a/xen/include/public/xen.h +++ b

Re: [XEN PATCH 04/10] xen/public: address violations of MISRA C Rule 20.7

2024-03-05 Thread Jan Beulich
On 05.03.2024 11:21, Nicola Vetrini wrote: > On 2024-02-29 23:49, Stefano Stabellini wrote: >> On Thu, 29 Feb 2024, Nicola Vetrini wrote: >>> On 2024-02-29 17:40, Jan Beulich wrote: On 29.02.2024 16:27, Nicola Vetrini wrote: > --- a/xen/include/public/xen.h > +++ b/xen/include/public/x

Re: [XEN PATCH 04/10] xen/public: address violations of MISRA C Rule 20.7

2024-03-05 Thread Nicola Vetrini
On 2024-02-29 23:49, Stefano Stabellini wrote: On Thu, 29 Feb 2024, Nicola Vetrini wrote: On 2024-02-29 17:40, Jan Beulich wrote: > On 29.02.2024 16:27, Nicola Vetrini wrote: > > --- a/xen/include/public/xen.h > > +++ b/xen/include/public/xen.h > > @@ -988,7 +988,7 @@ typedef struct { > >

Re: [XEN PATCH 04/10] xen/public: address violations of MISRA C Rule 20.7

2024-02-29 Thread Jan Beulich
On 29.02.2024 17:49, Nicola Vetrini wrote: > On 2024-02-29 17:40, Jan Beulich wrote: >> On 29.02.2024 16:27, Nicola Vetrini wrote: >>> --- a/xen/include/public/xen.h >>> +++ b/xen/include/public/xen.h >>> @@ -988,7 +988,7 @@ typedef struct { >>>((b) >> 8) & 0xFF, ((b) >> 0) & 0xFF,

Re: [XEN PATCH 04/10] xen/public: address violations of MISRA C Rule 20.7

2024-02-29 Thread Stefano Stabellini
On Thu, 29 Feb 2024, Nicola Vetrini wrote: > On 2024-02-29 17:40, Jan Beulich wrote: > > On 29.02.2024 16:27, Nicola Vetrini wrote: > > > --- a/xen/include/public/xen.h > > > +++ b/xen/include/public/xen.h > > > @@ -988,7 +988,7 @@ typedef struct { > > >((b) >> 8) & 0xFF, ((b) >> 0) & 0xF

Re: [XEN PATCH 04/10] xen/public: address violations of MISRA C Rule 20.7

2024-02-29 Thread Nicola Vetrini
On 2024-02-29 17:40, Jan Beulich wrote: On 29.02.2024 16:27, Nicola Vetrini wrote: --- a/xen/include/public/xen.h +++ b/xen/include/public/xen.h @@ -988,7 +988,7 @@ typedef struct { ((b) >> 8) & 0xFF, ((b) >> 0) & 0xFF, \ ((c) >> 8) & 0xFF, ((c) >> 0)

Re: [XEN PATCH 04/10] xen/public: address violations of MISRA C Rule 20.7

2024-02-29 Thread Jan Beulich
On 29.02.2024 16:27, Nicola Vetrini wrote: > --- a/xen/include/public/xen.h > +++ b/xen/include/public/xen.h > @@ -988,7 +988,7 @@ typedef struct { >((b) >> 8) & 0xFF, ((b) >> 0) & 0xFF, \ >((c) >> 8) & 0xFF, ((c) >> 0) & 0xFF,

[XEN PATCH 04/10] xen/public: address violations of MISRA C Rule 20.7

2024-02-29 Thread Nicola Vetrini
MISRA C Rule 20.7 states: "Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses". Therefore the macro XEN_DEFINE_UUID_ should wrap its parameters in parentheses. No functional change. Signed-off-by: Nicola Vetrini --- xen/include/public/xen.h | 2 +- 1 f