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

Re: [XEN PATCH] xen: fixed violations of MISRA C:2012 Rule 3.1


  • To: nicola <nicola.vetrini@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 13 Jun 2023 12:06:01 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sPq5WlDWZyQk+lL2kINaGD+5Uwn6jSJ76FkWd71Gt+k=; b=NED7cyJV/TpBXZb5WvckOmVet78Ilpu4sAVbNcRkaV8r4PEgqRSJ8J8SeeCOk1A1UPsll8Yup5EoFCCSrMM5OHjOjFH09LmDAdk8tWvzF31ho/OcGl9rp5rbc82tYGvcjRBQJQnWI11gOt7oeu4K509QYCu8nZeGzZcFFBy4F1fYZHvt8aGFqvKqEoKRwGn7nsL2RAleIbaqEfI0DDZDbb5wLzHnXOisZDQWfcm77vlCJUIzRcQd4lI2wvBJYfchFI5A7XZXJOKH/y878JNkc0RzGgTENGzEoq3h5HSOOFsCjEXu96erVYNOua0+LSPOpnCpRrTNaJiBqJDCHaKvnA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l6HH0fW8VTCz5ifla/oSP12vjpSwzI8oTFjbn0QZGSBUvKHNrHV7CZQII0qIkcGoMtR8bMXVbqzKUgv/XGSR2qK4yWbhkxa+Zgq8g9xMSPGoFLcrVJ4SdoS+ugYOgzb2YZsAFptmpumfneqMNjt0DC60noLlU3YGUMmFc1IQzGmk2H/EThw+LzE71JXLjHtt1XcGgpGqvrsdU5h4nwnwNAuTMtpN0Jngps7oaY+LXJhFOAVD7q7V1/vXTTOqn1WtX6vZLl1qm+YeQopISoJkMwznaK8O5GSrM3gXnTDIx+0+xL1TGdecupze8zkxagk4leRwLY9qXGC3VFYOoKZ2ZQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 13 Jun 2023 10:06:22 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

First of all - please don't drop Cc-s when replying, unless you have a
specific reason to.

On 13.06.2023 11:56, nicola wrote:
> On 13/06/23 10:27, Jan Beulich wrote:
>> If you split this to 4 patches, leaving the URL proposal in just
>> the cover letter, then I think this one change (with the adjustments)
>> could go in right away. Similarly I expect the arm64/flushtlb.h
>> change could be ack-ed right away by an Arm maintainer.
> Ok. I do not understand what you mean by "leaving the URL proposal in 
> just the cover letter". Which URL?

In your description you had a proposal to deviate the // occurring
in URLs. The latest when splitting the patch, this doesn't belong
into any of the patches anymore, but just in the cover letter.

>> Here "propose" is appropriate in the description, as this is something 
>> the patch does not do. Further down, however, you mean to describe 
>> what the patch does, not what an eventual patch might do.
>>
> To my knowledge, there is not a standard format to define a project 
> deviation for a certain MISRA rule in Xen right now (this can also be 
> discussed in a separate thread). To clarify, I meant to describe why I 
> wasn't addressing these violations in the patch (they are the vast 
> majority, but they do not have any implication w.r.t. functional safety 
> and can therefore be safely deviated with an appropriate written 
> justification).

And as said, for what you're not doing in the patch, using "propose"
is quite fine (as per above, whether that actually belongs in the
description is another question). I view the word as inapplicable
though when you describe what you're actually doing in a patch. But
I'm not a native speaker, so I may be wrong here.

Jan



 


Rackspace

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