[XEN PATCH v2] device_tree: address violations of MISRA C:2012 Rules 8.2 and 8.3

2023-07-24 Thread Federico Serafini
Give a name to unnamed parameters thus addressing violations of MISRA C:2012 Rule 8.2 ("Function types shall be in prototype form with named parameters"). Keep consistency between parameter names and types used in function declarations and the ones used in the corresponding function definitions, th

Re: [XEN PATCH v2] device_tree: address violations of MISRA C:2012 Rules 8.2 and 8.3

2023-07-24 Thread Stefano Stabellini
On Mon, 24 Jul 2023, Federico Serafini wrote: > Give a name to unnamed parameters thus addressing violations of > MISRA C:2012 Rule 8.2 ("Function types shall be in prototype form with > named parameters"). > Keep consistency between parameter names and types used in function > declarations and the

RE: [XEN PATCH v2] device_tree: address violations of MISRA C:2012 Rules 8.2 and 8.3

2023-07-24 Thread Henry Wang
[XEN PATCH v2] device_tree: address violations of MISRA C:2012 > Rules 8.2 and 8.3 > > Give a name to unnamed parameters thus addressing violations of > MISRA C:2012 Rule 8.2 ("Function types shall be in prototype form with > named parameters"). > Keep consist

Re: [XEN PATCH v2] device_tree: address violations of MISRA C:2012 Rules 8.2 and 8.3

2023-07-25 Thread Julien Grall
Hi Federico, On 24/07/2023 09:40, Federico Serafini wrote: Give a name to unnamed parameters thus addressing violations of MISRA C:2012 Rule 8.2 ("Function types shall be in prototype form with named parameters"). Keep consistency between parameter names and types used in function declarations a

Re: [XEN PATCH v2] device_tree: address violations of MISRA C:2012 Rules 8.2 and 8.3

2023-07-25 Thread Federico Serafini
Hello Julien, On 25/07/23 12:02, Julien Grall wrote: -unsigned int dt_number_of_address(const struct dt_device_node *dev) +unsigned int dt_number_of_address(const struct dt_device_node *device) We have a structure called 'device', so wouldn't this result to violate another MISRA rule because id