[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] docs/misra: add Rule 1.1 and 5.6
- To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Fri, 21 Jul 2023 08:47:42 +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=YcfVGahNlNID5Wlbevt3ZC6KDLW0OY6KlwdQk4viVF4=; b=XQBYCOiXWQIsLx+J/i/ruUjk5GZIt55fBnoJVJQ57Fd4ZR9Xlb4td11y3TkRAW/dh2c4aJ9u3UiRcBVmLwzpQQ46GPGt1iAMsOZVD2fU0nqeQ+nhEa5cZl0xC4CAoG/ojBjD+3Ea8mnQTEjGXOltM7N1TP8fz24VFvVITWglrjXN4Sx8BqJQ9WGA3uBk0oQtbEmxirOxCjQOeOdA4CTMw5eORvkBdDlKG1odIbWijvSnXnb7RFEPrnNteYbv1Gh5QgFNeqcASE7tZWstairXrWTqgA1xZQrekpFxFuCHw01dkNPIA7zQsXsZTwOJxpCafPQdS7hWNL/WpyODXS1a7w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dzZjJY6hhXX2aM/lODMG98VA3qeLPjJdRbpQAuVusO6i669oGeE0BeUg9dVMJqcaDjsvjihZ+RF02w3i6otEhRCENtlSw8GjuVGvY4y4v65MMykoPAt5r5GHWdNOtrWus4SGbwNgukjeSIH6ziIh5nC/Q2Hw9TCgGzSZBDOXpYgZCyWFkoEEf23ZP3QA6EsbPNbOA+1kvUP9pD9LhwS2Uns9B1kewphiWy9btQPYBK6Rn01g85JGg4pgUFppYXXMskeA/VHKzo67ryJj1bRxg0qOsU3uCO48SyDYGmcJj4Yin6VuLmReoZJm/Y5FdFqjVo+k8hCLCWghSofIFxCBgQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: andrew.cooper3@xxxxxxxxxx, roger.pau@xxxxxxxxxx, julien@xxxxxxx, george.dunlap@xxxxxxxxxx, bertrand.marquis@xxxxxxx, Stefano Stabellini <stefano.stabellini@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 21 Jul 2023 06:47:52 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 21.07.2023 02:23, Stefano Stabellini wrote:
> From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
>
> Rule 1.1 is uncontroversial and we are already following it.
Except for our extensive use of compiler extensions. I thought we had
agreed to add a respective remark?
> Rule 5.6 has been deemed a good rule to have by the MISRA C group.
> However, we do have a significant amount of violations that will take
> time to resolve and might require partial deviations in the form of
> in-code comments or MISRA C scanners special configurations (ECLAIR).
> For new code, we want this rule to apply hence the addition to
> docs/misra/rules.rst.
May I ask to insert "generally" ahead of "apply". As mentioned I can
see it becoming necessary to add such in new code, then right away
with deviation and suitably justified.
Jan
|