From nobody Fri Nov 22 07:37:01 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1718704556041162.43375623218117; Tue, 18 Jun 2024 02:55:56 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.742935.1149817 (Exim 4.92) (envelope-from ) id 1sJVYp-00062h-5P; Tue, 18 Jun 2024 09:55:31 +0000 Received: by outflank-mailman (output) from mailman id 742935.1149817; Tue, 18 Jun 2024 09:55:31 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sJVYp-00062a-1V; Tue, 18 Jun 2024 09:55:31 +0000 Received: by outflank-mailman (input) for mailman id 742935; Tue, 18 Jun 2024 09:55:29 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sJVYn-00062U-LB for xen-devel@lists.xenproject.org; Tue, 18 Jun 2024 09:55:29 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id e3a454af-2d58-11ef-b4bb-af5377834399; Tue, 18 Jun 2024 11:55:27 +0200 (CEST) Received: from delta.bugseng.com.homenet.telecomitalia.it (host-87-17-171-46.retail.telecomitalia.it [87.17.171.46]) by support.bugseng.com (Postfix) with ESMTPSA id 711AA4EE0738; Tue, 18 Jun 2024 11:55:25 +0200 (CEST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: e3a454af-2d58-11ef-b4bb-af5377834399 From: Alessandro Zucchelli To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Alessandro Zucchelli , Simone Ballarin , Doug Goldstein , Stefano Stabellini Subject: [PATCH] automation/eclair_analysis: deviate common/unlzo.c for MISRA Rule 7.3 Date: Tue, 18 Jun 2024 11:54:49 +0200 Message-Id: <20342a68627d5fe7c85c50f64e9300e9a587974b.1718704260.git.alessandro.zucchelli@bugseng.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1718704558449100001 Content-Type: text/plain; charset="utf-8" The file contains violations of Rule 7.3 which states as following: The lowercase character `l' shall not be used in a literal suffix. This file defines a non-compliant constant used in a macro expanded in a non-excluded file, so this deviation is needed in order to avoid a spurious violation involving both files. No functional change. Signed-off-by: Alessandro Zucchelli --- automation/eclair_analysis/ECLAIR/deviations.ecl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/automation/eclair_analysis/ECLAIR/deviations.ecl b/automation/= eclair_analysis/ECLAIR/deviations.ecl index 447c1e6661..90413c5458 100644 --- a/automation/eclair_analysis/ECLAIR/deviations.ecl +++ b/automation/eclair_analysis/ECLAIR/deviations.ecl @@ -139,6 +139,12 @@ particular use of it done in xen_mk_ulong." -config=3DMC3R1.R7.2,reports+=3D{deliberate,"any_area(any_loc(macro(name(B= UILD_BUG_ON))))"} -doc_end =20 +-doc_begin=3D"Violations in files that maintainers have asked to not modif= y in the +context of R7.3." +-file_tag+=3D{adopted_r7_3,"^xen/common/unlzo\\.c$"} +-config=3DMC3R1.R7.3,reports+=3D{deliberate,"any_area(any_loc(file(adopted= _r7_3)))"} +-doc_end + -doc_begin=3D"Allow pointers of non-character type as long as the pointee = is const-qualified." -config=3DMC3R1.R7.4,same_pointee=3Dfalse --=20 2.34.1