From nobody Mon Nov 3 18:30:32 2025 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; dkim=pass; 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; dmarc=pass(p=none dis=none) header.from=bugseng.com ARC-Seal: i=1; a=rsa-sha256; t=1725972226; cv=none; d=zohomail.com; s=zohoarc; b=hV41z6bUy3GeIVgmDYsZuzTAF3DYB4qH+GLjRcYgiGEGmfq4ilcYA80TfxCp31uijHdg4Ih+CFKNOGkK1mNXkfQLZ4wDzUcq8NUx/nJSg/26nv0EQPoD+D+PzZ+XS1P+F704spwsd8WNBUPVd756TlxBYp8qxV6y4iNDhsPql4s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1725972226; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=TmQWxgdt6OG2mFiPEjZK3eG8v/IOgnpy8W8o1/x4leU=; b=fxx3raZ+8JSPTtbBAPyNVNioS2N07AGfHeUVY9dxjnIeRbrcOo89i26k+eHqVQetd6C4wHg18muzTLq3Dca8u7daocNmQnq6ORqxpd9w973N51uYi1up+1FYifVNzXhHZfOwCaLYMzG4/voliirhonaiD5IpXUvxHEQDwo70XZ0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1725972226456693.6517208098949; Tue, 10 Sep 2024 05:43:46 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.795514.1204901 (Exim 4.92) (envelope-from ) id 1so0DR-0004OR-Oj; Tue, 10 Sep 2024 12:43:29 +0000 Received: by outflank-mailman (output) from mailman id 795514.1204901; Tue, 10 Sep 2024 12:43:29 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1so0DR-0004OK-Lc; Tue, 10 Sep 2024 12:43:29 +0000 Received: by outflank-mailman (input) for mailman id 795514; Tue, 10 Sep 2024 12:43:27 +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 1so0DP-0004OA-Gg for xen-devel@lists.xenproject.org; Tue, 10 Sep 2024 12:43:27 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 453a6440-6f72-11ef-99a1-01e77a169b0f; Tue, 10 Sep 2024 14:43:25 +0200 (CEST) Received: from nico.bugseng.com (unknown [46.228.253.214]) by support.bugseng.com (Postfix) with ESMTPSA id AA34A4EE07A8; Tue, 10 Sep 2024 14:43:23 +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: 453a6440-6f72-11ef-99a1-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bugseng.com; s=mail; t=1725972204; bh=zfH4JuPiui7pMPoI9vQtOmlaZUhwRqgB07OFHm8U3eQ=; h=From:To:Cc:Subject:Date:From; b=Z61tPtxPNWO5X3FLae6ddurObQeGovpKSbvL45V+wgWooogxnos025EjiLfapOr9z qGOBojDyf/qO9yfe+mTOyRGaLdMm4jzAKSvQK2hgnUkzNgMlWSfgUQu7Us74EIrD35 Sp8Y2kZtcVcd6COQoeBofe2/uAy1WVNMjrw4cSqCtxwsMP11sbeBhbYOf4cmCyw6Qa 6qJjjeCTDXU+WSwYLtQlgpy8OXM+IAD8KrqUf1Hik5bdVQ6l36B9EPoaz5BYZLOsR6 +lEtkymlnWOYRl5nCn+eMv763yMa8RqDr1uDlKmzB7H7LcyC57/HHJWtihRCGsI4ua 49UBr1qsT3kgQ== From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, michal.orzel@amd.com, xenia.ragiadakou@amd.com, ayan.kumar.halder@amd.com, consulting@bugseng.com, Nicola Vetrini , Simone Ballarin , Doug Goldstein Subject: [XEN PATCH] automation/eclair_analysis: address violation of Rule 20.7 Date: Tue, 10 Sep 2024 14:43:21 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @bugseng.com) X-ZM-MESSAGEID: 1725972228156116600 Content-Type: text/plain; charset="utf-8" MISRA Rule 20.7 states: "Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses". The files imported from the gnu-efi package are already deviated, yet the macro NextMemoryDescriptor is used in non-excluded code, so a further deviation is needed to exclude also any expansion of the macro. No functional change. Signed-off-by: Nicola Vetrini Acked-by: Stefano Stabellini --- automation/eclair_analysis/ECLAIR/deviations.ecl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/eclair_analysis/ECLAIR/deviations.ecl b/automation/= eclair_analysis/ECLAIR/deviations.ecl index ed80ac795851..3241f96cd612 100644 --- a/automation/eclair_analysis/ECLAIR/deviations.ecl +++ b/automation/eclair_analysis/ECLAIR/deviations.ecl @@ -566,7 +566,7 @@ of the IS_ENABLED or STATIC_IF/STATIC_IF_NOT macros, so= it always receives a lit not in scope for compliance are allowed, as that is imported code." -file_tag+=3D{gnu_efi_include, "^xen/include/efi/.*$"} -file_tag+=3D{acpi_cpu_idle, "^xen/arch/x86/acpi/cpu_idle\\.c$"} --config=3DMC3R1.R20.7,reports+=3D{safe, "any_area(any_loc(file(gnu_efi_inc= lude)))"} +-config=3DMC3R1.R20.7,reports+=3D{safe, "any_area(any_loc(file(gnu_efi_inc= lude)||any_exp(macro(^NextMemoryDescriptor$))))"} -config=3DMC3R1.R20.7,reports+=3D{safe, "any_area(any_loc(file(acpi_cpu_id= le)))"} -doc_end =20 --=20 2.43.0