From patchwork Mon Dec 11 09:14:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Vetrini X-Patchwork-Id: 13486890 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D86F3C169C2 for ; Mon, 11 Dec 2023 09:15:05 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.651525.1017192 (Exim 4.92) (envelope-from ) id 1rCcN3-0001cy-Qs; Mon, 11 Dec 2023 09:14:37 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 651525.1017192; Mon, 11 Dec 2023 09:14:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rCcN3-0001cp-LT; Mon, 11 Dec 2023 09:14:37 +0000 Received: by outflank-mailman (input) for mailman id 651525; Mon, 11 Dec 2023 09:14:36 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rCcN2-0001ce-Bm for xen-devel@lists.xenproject.org; Mon, 11 Dec 2023 09:14:36 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id b321d339-9805-11ee-98e8-6d05b1d4d9a1; Mon, 11 Dec 2023 10:14:34 +0100 (CET) Received: from nico.bugseng.com (unknown [147.123.100.131]) by support.bugseng.com (Postfix) with ESMTPSA id 2A01C4EE073E; Mon, 11 Dec 2023 10:14:32 +0100 (CET) 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: b321d339-9805-11ee-98e8-6d05b1d4d9a1 From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Nicola Vetrini , Jan Beulich , Andrew Cooper , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Wei Liu , Paul Durrant , Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk , George Dunlap , Shawn Anastasio Subject: [XEN PATCH v3 0/3] address some violations of MISRA C Rule 8.4 Date: Mon, 11 Dec 2023 10:14:26 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 MISRA C:2012 Rule 8.4 states: "A compatible declaration shall be visible when an object or function with external linkage is defined". Changes from v1: - Patch 1/7 has been committed; - Patch 2/7 has been dropped, as the fix is already part of [1]; - Patch 3/7 drops the addition of asmlinkage on variables. Discussion on how to handle the existing uses can be part of a separate patch; - Patch 4/7 is unchanged; - Patch 5/7 has been committed; - Patch 6/7 has been dropped - Patch 7/7 has been revised to have a declaration for first_valid_mfn, rather than a deviation for the absence of a declaration Changes from v2: - Patch 3/3: remove redundant declarations [1] https://lore.kernel.org/xen-devel/27dd8f40-1ea6-1e7e-49c2-31936a17e9d7@suse.com/ Nicola Vetrini (3): xen/x86: add missing instances of asmlinkage attributes x86/viridian: make build_assertions static xen/mm: add declaration for first_valid_mfn xen/arch/arm/include/asm/numa.h | 8 ++++---- xen/arch/ppc/include/asm/numa.h | 7 +++---- xen/arch/x86/efi/efi-boot.h | 5 +++-- xen/arch/x86/hvm/viridian/synic.c | 2 +- xen/arch/x86/smpboot.c | 2 +- xen/include/xen/mm.h | 2 ++ 6 files changed, 14 insertions(+), 12 deletions(-)