[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN PATCH v3 2/3] xen/drivers/passthrough/arm/smmu-v3.c: fix violations of MISRA C:2012 Rule 3.1



On 29.06.2023 16:52, Luca Fancellu wrote:
> 
> 
>> On 29 Jun 2023, at 11:06, Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx> wrote:
>>
>> In the file `xen/drivers/passthrough/arm/smmu-v3.c' there are a few 
>> occurrences
> 
> here you use a different character to enclose the file path (` vs ‘) may I 
> suggest to
> use only (‘)?
> 
>> of nested '//' character sequences inside C-style comment blocks, which 
>> violate
>> Rule 3.1.
>>
>> The patch aims to resolve those by replacing the nested comments with
>> equivalent constructs that do not violate the rule.
>>
>> Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
> 
> You are missing the “---“ here, meaning that the lines below are part of the
> commit message and I’m sure you don’t want that.
> 
> Also here, may I suggest to use this commit title instead?
> “xen/arm: smmuv3: Fix violations of MISRA C:2012 Rule 3.1”

Just to mention it: Personally I'm averse to such double subject prefixes.
Why would (here) "xen/smmuv3: " not be sufficient (and entirely unambiguous)?

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.