From nobody Sun Feb 8 07:39:28 2026 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; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=2; a=rsa-sha256; t=1763667235; cv=pass; d=zohomail.com; s=zohoarc; b=ksZ1hzblLfO78LEDWUkFC/d0iyNn/oWiNrH6DQq6IaJ2gtXmPoczxTJYDUSrWhBINoj2tyO4KHQQTf0boh0YPOoq3QmSiRTTgxRyQUT+sQobqVAufkSWikVfLf62l8/MS30BW9POxlxkfCgD4XACI505jwEzBUxZ9k1MgVrsGdo= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763667235; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=HbV4xVp4zeLN5tj4auSxhS6CmQsw7OBVUF0eevyQ0mE=; b=Yg8EZmVVj7+r7QNWhyMjbgvqf3ok+g801mOXPcu3Le8TtC0WagPkObTxpbeEj4bqvCam3UBXLCLZrvCIIVdF84Lrqvrfl2cRXvU1X/wuXyng8BhERg3IlANpYNYtXPuW+XFdjNeuVx+NyEhHtb1zsVySZz2SHaI+qvr/6PqDVg8= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail 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 1763667235291788.6268769697635; Thu, 20 Nov 2025 11:33:55 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1167950.1494147 (Exim 4.92) (envelope-from ) id 1vMAPP-0002sC-J8; Thu, 20 Nov 2025 19:33:35 +0000 Received: by outflank-mailman (output) from mailman id 1167950.1494147; Thu, 20 Nov 2025 19:33:35 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vMAPP-0002s5-Fw; Thu, 20 Nov 2025 19:33:35 +0000 Received: by outflank-mailman (input) for mailman id 1167950; Thu, 20 Nov 2025 19:33:35 +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 1vMAPP-0001hr-2m for xen-devel@lists.xenproject.org; Thu, 20 Nov 2025 19:33:35 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c5939117-c647-11f0-9d18-b5c5bf9af7f9; Thu, 20 Nov 2025 20:33:21 +0100 (CET) Received: from nico-ideapad (93-44-185-120.ip98.fastwebnet.it [93.44.185.120]) (Authenticated sender: nicola) by support.bugseng.com (Postfix) with ESMTPSA id EE47C4EEBF04; Thu, 20 Nov 2025 20:33:19 +0100 (CET) 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: c5939117-c647-11f0-9d18-b5c5bf9af7f9 Authentication-Results: bugseng.com; arc=none smtp.remote-ip=93.44.185.120 ARC-Seal: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; cv=none; t=1763667200; b=diiJIiaSEkuwROJh8Q16QpWkxnrwTGlQU7ooPmK5f/qfWu0vqTyIwpnAMBQCzJnQKwo1 5RGCfmF1Y23rTezojMMCgdWL881zO5AkxThUg9up+r02zyjfVUCA1qXyFtxMl4DP/jFty 3dazAmHG1ETtKzGWGd/uN3RbusC0mzQySyqZOKd77faxwym5S88PLoKj9oaSuY4JrEI7E ArQEEbuaUMh6Gt2kTR9XjFXarfy8PTIm/MK1S4VPtX5itTZn5AhgAgKmhaGl7QtqrECml 8h21FKy6cBtLpfqf0yokTWxwbypJMFw2hxl3EG8yglD73rxhtw1i1Idr9lM74dWymrmLc yFYDOhofgju/CCtBFmoX9Z1u5ERbNGuvldUrt6ChHTahrg/W1+b70dAb7HMgA6/CcVz93 Vkq+wCi+0sU1gocrOY0Og2ui0/Y6u0lKJ5evwIM7Mk6TwRmIN5izl26NdV1Syr3qmSPOv VYgfMz6KqF2/TNF0pm22pFsjrvnzlyO4+AwmLXEgEfhyP5j2u+RrTAlBIL44+/HNXEK+B vSIBY6f90D1YpDd8S2z20KD+tvUUu2J0G0xTcx+OzK5yKAjwnrdVjqJ3Se35DD3LF6MUo g4KddEGNueximp0LnmOPhUsJ2qwnPGnHjtD2RBGx7YSHnCeXL+5foUj5WzYPttc= ARC-Message-Signature: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; c=relaxed/relaxed; t=1763667200; h=From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=HbV4xVp4zeLN5tj4auSxhS6CmQsw7OBVUF0eevyQ0mE=; b=sOsZgLDvUY7MDvaUvF4vFUuqN3DogaUWnnPQ6cBp5rL5LZkRCNH3QAzvUWvWN4GB5FSe 4lZwF21XlKcO7HKnwGbZVKjyPNr9FXig3JzJuvcfm/Gry2j96rNM8j4VNFeyTtabIy059 N2Kht3j7Mtq5VGDmS/h3E5VsaQ2HnCzHt5YBwphihrhNUc/XTKl9/6rVmLnmbJUUB9XVD 6CzUSVj7k5a0rSGlR/28zdvMTkhUcJeYOPGpzo58up5Vo8wlyjXwGy8cVLn5QYbu53cBP DSSkhVmHoH5XJI2Fgo2dhxISTAg5ohdhlYfIYY9GvWe2i32ildQYMCyTHbNUftL4FklLe njZgBKhu3Nfc46f56gTWfV79S7Q4qStSUTMgqGLpe/4ZNJhZYdSkwT+GdfMeHbQnqQ9K9 0vGf93oQ3S1SbBImcNpf9tg6z7XrjgsX1IShs+GIa7f9WtQjz3yLjOYpvaMu72p9g+dbx OdIRtuKJZjnNzuH++Vuh62TYjchgyUyJk0c0MWHKbQMgY+Jt/9kKUph3KiX8f0zJOJWGS VMwPtkWyoiJgjSiDzEyIu4bCbhO90zpjGMyhj5IBBBJn8RpRCsFl5ZRJsH7TnZY2WakzW exxfCmJePBmpR9CHOiCCPNrXgEsLlQCK0Kt6R3iU87XmlUfpdD+agB0s/e62Lg0= ARC-Authentication-Results: i=1; bugseng.com; arc=none smtp.remote-ip=93.44.185.120 From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, jbeulich@suse.com, sstabellini@kernel.org, Nicola Vetrini , "Daniel P. Smith" Subject: [PATCH 1/4] xen/xsm: address violations of MISRA C rules 8.3 and 7.2 Date: Thu, 20 Nov 2025 20:32:53 +0100 Message-ID: X-Mailer: git-send-email 2.51.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1763667235572018900 Content-Type: text/plain; charset="utf-8" Rule 8.3 states: Function types shall be in prototype form with named parameters. add parameter to 'has_xsm_magic' to make it consistent with the definition. Rule 7.2 states: A `u' or `U' suffix shall be applied to all integer constants that are represented in an unsigned type. add missing `U' to both #define for `XSM_MAGIC` for consistency. No functional change. Signed-off-by: Nicola Vetrini Acked-by: Daniel P. Smith --- xen/include/xsm/xsm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h index 9a23d2827c..074d61cd45 100644 --- a/xen/include/xsm/xsm.h +++ b/xen/include/xsm/xsm.h @@ -22,9 +22,9 @@ typedef uint32_t xsm_magic_t; =20 #ifdef CONFIG_XSM_FLASK -#define XSM_MAGIC 0xf97cff8c +#define XSM_MAGIC 0xf97cff8cU #else -#define XSM_MAGIC 0x0 +#define XSM_MAGIC 0x0U #endif =20 /* @@ -815,7 +815,7 @@ int xsm_multiboot_policy_init( */ int xsm_dt_init(void); int xsm_dt_policy_init(void **policy_buffer, size_t *policy_size); -bool has_xsm_magic(paddr_t); +bool has_xsm_magic(paddr_t start); #endif =20 void xsm_fixup_ops(struct xsm_ops *ops); --=20 2.51.2 From nobody Sun Feb 8 07:39:28 2026 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; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=2; a=rsa-sha256; t=1763667234; cv=pass; d=zohomail.com; s=zohoarc; b=nQpQ7DuXaD+KOhLGRNHRHMUdsC7Q1ddj42KR7UWSm+uD/u+P91n93knHF83n0U2iHEuqGXTIujOYXqv18JPiWfAQFmtJDdOtBmmJi8rfF4htzBtl9H6anqMwnj3sRUni1Ah+Wyztj4fFz844gDJVUmUc0knjPz1tx+rfjrBvo3M= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763667234; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=xleBcpqxr79kzkE5NhaulXEzW9GO9ArZ3q/6z7TZImA=; b=URG8xE+ls/y+CJgHvSkq3dQ4g16AFb6Mzu+5X7R+Y2fmp4zQrDZv48PcmWX7Jmb+Zh2QevhzLr4PlyLjnO0LoDXrLQiE+TfQPlfirXqxlNwjzB/t7N6Zw3ao0U8vLe3/kr8ZOwFKdRRar2iP8Ag4hcFi2DJpgtaoiG102M46quo= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail 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 1763667234820803.59282495948; Thu, 20 Nov 2025 11:33:54 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1167942.1494110 (Exim 4.92) (envelope-from ) id 1vMAPD-0001lI-V0; Thu, 20 Nov 2025 19:33:23 +0000 Received: by outflank-mailman (output) from mailman id 1167942.1494110; Thu, 20 Nov 2025 19:33:23 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vMAPD-0001kh-Rp; Thu, 20 Nov 2025 19:33:23 +0000 Received: by outflank-mailman (input) for mailman id 1167942; Thu, 20 Nov 2025 19:33:22 +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 1vMAPC-0001hr-QQ for xen-devel@lists.xenproject.org; Thu, 20 Nov 2025 19:33:22 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c65e2080-c647-11f0-9d18-b5c5bf9af7f9; Thu, 20 Nov 2025 20:33:22 +0100 (CET) Received: from nico-ideapad (93-44-185-120.ip98.fastwebnet.it [93.44.185.120]) (Authenticated sender: nicola) by support.bugseng.com (Postfix) with ESMTPSA id 18C6D4EEBF05; Thu, 20 Nov 2025 20:33:20 +0100 (CET) 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: c65e2080-c647-11f0-9d18-b5c5bf9af7f9 Authentication-Results: bugseng.com; arc=none smtp.remote-ip=93.44.185.120 ARC-Seal: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; cv=none; t=1763667202; b=QBOJn5COohY6EVdf9TchCvbCtKP6qVM60HetoIS12UZ2YiHx+Jg13HaiuQe46Q/L2KVS AZXcG7YFyYhKzWyLqV3FQk1DKF74EsbSPaOAOCSLQ10GN0MbFfrb6IqayMAWZb1Z1lIFD XNpvb2A2+jr908oA6x1nQVaZ0Fc/FwfIUSPxed67PdPs5ESyHobds7QST8MmAJwRVgErg /Tp2ApV7JLIPRL7i+/WkNuuBOxlLhp2nsabLQdHSvB1KIFUpLjsKi1gbVMU4dCKaJYuEo JxmEz06rCFO8c/x06Cb0/KCF+Y3pDfMO2bcnzZy21dVrPboXWa1heClJD7me482G5A47p 2uClJ9SRvCL+kSpM/gSQutfkoRJhPC6Y6yqKZTyvEPfabwEBEpcP31av5PqggULM/ug0Y HYLp34H8gF6oJbxli9d35cq/jYXQNvF2D11mBcjHdK2rNSeVfxo9YLiEjZYHPHrxB7ewT JGrYb1MgMz45n9+/yERN2PvNsXXIpufsFixBQ/+rOKe0V7bXRsamwdsGlZ+PxtEjTEMKc FFN9pVRppAEbFpx8tM2RhP188InEuuAoKATgQ/Fv1tkWxPQyqzmA8hUu2Rrosrm8Ls10D ZgdhtRteKAT/m8KcPUaHrF/gLJBOuFibYm4lvSnNQ+0idrE2J3j68uhjm9a21pg= ARC-Message-Signature: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; c=relaxed/relaxed; t=1763667202; h=From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=xleBcpqxr79kzkE5NhaulXEzW9GO9ArZ3q/6z7TZImA=; b=BiXb7B7hIrXv+fEis3uOor5bjbh/78aJwbAfgGw8CQYi++IDePbbYU2U9fMD3VfxcFyv 8I2G2QNexryiCccfylQY1Oh0RaWps8EFfytMC0NRWOAmOUepWI7jbPl2tA//fWRMwCDyJ iqZTwogZGLZE9y7PiRkhPSd03QlLsoV/EfDSwoquYjM6yvBaCN2vlPVEWPjl3rWJtMV6y yQ5DZXStmvwtsaDSyP98Hazy9teZDdcTysosGhrEMCfZXo0jEiA4uyQMUmjcCE2+9gVgu yjwVidD5S5PnrLHhv4+GpnVY4Ovzlns04pxekeohq0+888bUFznz930BycK5rPobPitlh Z+ZQ5+Ou4yckW3Dpn/TMuGn9PcyBI4tROJiKNoxYR7QiuW527EQaJwobGdC9cbK6dWqJr qEykfm+bHCaOQZqgQbdMO6/2hrRf5VTdm6Hhl1jYi5nBzcYv1eFPeAY0vtomxcQTNC+ky 6vlmZcuLAqb9YwUXzkHXDdEdF/KxD3buEBTdB6aBEiwFe2RwDChqWZqcK2q5L5nGnpJNs 3bBqBSb/HLEm3c0JAlbRTj8QhAuJKPIbtAMejvSLBjGe8LML/6LWzEwxPPwLe/5n1sezT PQw9Fq4OBgVrABgVZLGhxtmRxk8UKan63ix9cPbpYXFicnECCcz3MUXzMytYhus= ARC-Authentication-Results: i=1; bugseng.com; arc=none smtp.remote-ip=93.44.185.120 From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, jbeulich@suse.com, sstabellini@kernel.org, Nicola Vetrini , Dario Faggioli , Juergen Gross , George Dunlap Subject: [PATCH 2/4] xen/sched: address violation of MISRA C Rule 16.3 Date: Thu, 20 Nov 2025 20:32:54 +0100 Message-ID: <60e3bd1ba6ab3bc47d3a95ddf1e3e7ef71db5f3d.1763642993.git.nicola.vetrini@gmail.com> X-Mailer: git-send-email 2.51.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1763667235569018900 Content-Type: text/plain; charset="utf-8" The rule states: An unconditional `break' statement shall terminate every switch-clause. Use the `fallthrough' pseudo-keyword for which an ECLAIR deviation is already in place. No functional change. Signed-off-by: Nicola Vetrini Acked-by: Juergen Gross --- xen/common/sched/credit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/sched/credit.c b/xen/common/sched/credit.c index 6dcf6b2c8b..e9a91d11c3 100644 --- a/xen/common/sched/credit.c +++ b/xen/common/sched/credit.c @@ -1288,7 +1288,7 @@ csched_sys_cntl(const struct scheduler *ops, prv->unit_migr_delay =3D MICROSECS(params->vcpu_migr_delay_us); spin_unlock_irqrestore(&prv->lock, flags); =20 - /* FALLTHRU */ + fallthrough; case XEN_SYSCTL_SCHEDOP_getinfo: params->tslice_ms =3D prv->tslice / MILLISECS(1); params->ratelimit_us =3D prv->ratelimit / MICROSECS(1); --=20 2.51.2 From nobody Sun Feb 8 07:39:28 2026 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; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=2; a=rsa-sha256; t=1763667232; cv=pass; d=zohomail.com; s=zohoarc; b=OZ6jTJbdU+opbFfmGNPkJiQiTKX7FwWRhaxSYnyg1Z15KGXKkDGlPqpX7kX+FTWbJoeFjBU7+q4jqFa+mbG6ldADi2t2qXpZzQo4NXdH0u+eLBb4shX1SGz8OhEke6e6YRcnsBp6ghpD7xI36r3GoF5eKuh182qEBG4+GVcKl+o= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763667232; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=p+U0aUwybu1dMebZr+nA1KTxVn7l5e18ZGuPyuhBnFA=; b=ZP8QD/YIbi4+EtsA3xB4MwPkSh4TYX6f0E/f2GSVuWnmz+9t5E2PIkwlMucNPxX+94r+tg6jIxNsO6DQbTH5XL1Q+zq8JEzrGHks5FTvxfS+HJNXeuBkn4Kck9CfD6RJzfimoKkD14erGDPGmSCQj5Sv9RGib6mPy8LuUTkkLV8= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail 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 1763667232313602.7164549513527; Thu, 20 Nov 2025 11:33:52 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1167943.1494127 (Exim 4.92) (envelope-from ) id 1vMAPG-0002Ak-4E; Thu, 20 Nov 2025 19:33:26 +0000 Received: by outflank-mailman (output) from mailman id 1167943.1494127; Thu, 20 Nov 2025 19:33:26 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vMAPG-0002Ad-1G; Thu, 20 Nov 2025 19:33:26 +0000 Received: by outflank-mailman (input) for mailman id 1167943; Thu, 20 Nov 2025 19:33:24 +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 1vMAPE-0001hr-4p for xen-devel@lists.xenproject.org; Thu, 20 Nov 2025 19:33:24 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c726cf6b-c647-11f0-9d18-b5c5bf9af7f9; Thu, 20 Nov 2025 20:33:23 +0100 (CET) Received: from nico-ideapad (93-44-185-120.ip98.fastwebnet.it [93.44.185.120]) (Authenticated sender: nicola) by support.bugseng.com (Postfix) with ESMTPSA id 50B454EEBF06; Thu, 20 Nov 2025 20:33:22 +0100 (CET) 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: c726cf6b-c647-11f0-9d18-b5c5bf9af7f9 Authentication-Results: bugseng.com; arc=none smtp.remote-ip=93.44.185.120 ARC-Seal: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; cv=none; t=1763667203; b=GrDXwHjA3XSgMz0xYcqYjAuYcdFmjFi+pkddUjx+bblxNBA5qPsyeUq5fkRStd6/a0oL lgpXoNA2HCyWMlTacHLDNMDmSDU4pGrpPkNk78DFYspd7sqrNjS/jydy5Zkpyf/TErwW3 sOSXU24rpTK3s7jykz1+U9QJ8PiFJysElb/h/Lz6YkNQjzXLBEBGAjwxI+7/ioBQM0qly RzmxNI9Ecgywl4Tm431GnM8l3PzRfs2OLm/RUB2HzGP4lr+1UKLGouGIIth8wYFp9/QC3 b+iCbIxsUmJIF3uMCfOTl0l9E4YjFwxSTNJ/4Q3RXZIBdyTI8Sybg1NMJ28yiPSstFcIq InbOhk1kdC0f1I/eAAe0G4sssikXU/CVQvHTSWbUd/g0RzB50FkTZKM42iR+ir7cZ4jLh nIMkoiBeZ8DTRUAA1cGuqqpQyZ9z+o03igm/Iaq1kbX4/PbTaGeQ44/JdEjv4bR/+6Qka iiFpQpw93QTdCZXaVOW9Dc+djqdULba2/ob7LLsEsdNU1hyGKQD0cRv3U/tbJluOnzqIi TU9XITGu0sKI7cL5pQ5EUN8LoQdU9OtYaNue3mqgycRVTBGZmPnCbo99rNMZxRSkvN8Ih oiqP9VeOtXNIibPC2EEjEn2kczNmroXwdS1OnCC9yg5sex0jF+RjeorcrTSlWX0= ARC-Message-Signature: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; c=relaxed/relaxed; t=1763667203; h=From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=p+U0aUwybu1dMebZr+nA1KTxVn7l5e18ZGuPyuhBnFA=; b=pPECHZBWjbPJigRcydEutV7RYj4MEDnh2ERiWqzWS0w0R4l9TreD8y2/2iVddA6Mphs9 DsV5cLk+JL7r7Eny5jT2IgmMGZuxnOx7cAplIjyolFYf7xCvKda5JBWc68hRhcjqJ4xwe vL4EDdzTRuphnDSBYfoMOjooaumNQ/jaKx/sC/rG6b85qmTzWaDciKLONGd8wmMpc8X95 JT3XFxcGzGDYT7/0FMp+l1Cy+uDCrMdNWLpOHwwpwNRpwy0tVN7H/OttCx2gpVrsCbw9w 9ANAKRrBF+YIe/bIdeWbmm07XL3913iGOiQVzUrg9KYShBVh0iX/B3W90VQGML29nBvhy xLBnGpw05wVBcz89WdheVPUvgiNJxPSQ8N/1rXY1EgCF3n6dftPpGImwZ/vXYx2/Q/CRq tiap80D93zrVinPOr8TfUuV4gIExh2Y7T7WavwA36v7g5QUDfIY/qHaRD1K08ShhuBzyQ UhpJX4H4USCA6C74Qs1Eez7nhwPNQ7dj8rIk7pkxZMmN4qBOFhCsqovcHKSBQ8wpdGzej dyt/I+EaHW5qSDS1sS2CqAhlzRxSvcQDt1v7vN5Ing5d4/Jb5U4WmgrTaxwk5yOKcMCyn /PyYGFNuBTHZN0Fljh+UV0kdv6R2gnh68LsKrnvvKATCcirY+Jx4G8Ag7/mu1/Y= ARC-Authentication-Results: i=1; bugseng.com; arc=none smtp.remote-ip=93.44.185.120 From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, jbeulich@suse.com, sstabellini@kernel.org, Nicola Vetrini , Anthony PERARD , Michal Orzel , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Subject: [PATCH 3/4] xen/param: address violation of MISRA C Rule 20.7 Date: Thu, 20 Nov 2025 20:32:55 +0100 Message-ID: X-Mailer: git-send-email 2.51.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1763667233570018900 Content-Type: text/plain; charset="utf-8" The rule states: Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses. Add parentheses in the defition of `custom_runtime_var_sz' to address the violations. No functional change. Signed-off-by: Nicola Vetrini Acked-by: Jan Beulich --- xen/include/xen/param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/include/xen/param.h b/xen/include/xen/param.h index 1bdbab34ab..f5a2189400 100644 --- a/xen/include/xen/param.h +++ b/xen/include/xen/param.h @@ -102,8 +102,8 @@ extern struct param_hypfs __paramhypfs_start[], __param= hypfs_end[]; =20 #define custom_runtime_set_var_sz(parfs, var, sz) \ { \ - (parfs)->hypfs.u.content =3D var; \ - (parfs)->hypfs.e.max_size =3D sz; \ + (parfs)->hypfs.u.content =3D (var); \ + (parfs)->hypfs.e.max_size =3D (sz); \ (parfs)->hypfs.e.size =3D strlen(var) + 1; \ } #define custom_runtime_set_var(parfs, var) \ --=20 2.51.2 From nobody Sun Feb 8 07:39:28 2026 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; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=2; a=rsa-sha256; t=1763667230; cv=pass; d=zohomail.com; s=zohoarc; b=YC3oU7qzXBkZDRPWPXfkRgjU3aQqiNQB82KBi+1S1t2MFEK+YFFJ6ni9efvLUMcwUpDJkQVi0eqT2g46CCZOTEpYJLZl3dRo0BPgx2Mix46rEeLVoIqXP8rUWkm7GMQUEuWBUR1suFKRLb+4512ylAsGoFFgpfCYPszFvfxXR4g= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1763667230; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=1QuMs1/9Gq1gFIiBb+i2lk9Yrl5XzVkDzoTNLAZZEJ0=; b=d2Ee98AZlvIsZ2mEsCCOCiZC1EjDcadkceo/XYIZbq5xdz6zoRYlcSZc82m3QeoA3zcI8PAHrrvQNUBYsoUjle0wjYsQYFs3Hw7h9LE5EDhh0dMm5Hech7lOkBpC0CI8HHjPLewFkTceDZfrr2LLUEZLCSZSsR2R/KaACQHLOVw= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=gmail.com); dmarc=fail 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 1763667230909141.1187698491699; Thu, 20 Nov 2025 11:33:50 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1167944.1494137 (Exim 4.92) (envelope-from ) id 1vMAPH-0002QD-BN; Thu, 20 Nov 2025 19:33:27 +0000 Received: by outflank-mailman (output) from mailman id 1167944.1494137; Thu, 20 Nov 2025 19:33:27 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vMAPH-0002Q4-8K; Thu, 20 Nov 2025 19:33:27 +0000 Received: by outflank-mailman (input) for mailman id 1167944; Thu, 20 Nov 2025 19:33:25 +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 1vMAPF-0001hr-Eu for xen-devel@lists.xenproject.org; Thu, 20 Nov 2025 19:33:25 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c7f230a1-c647-11f0-9d18-b5c5bf9af7f9; Thu, 20 Nov 2025 20:33:24 +0100 (CET) Received: from nico-ideapad (93-44-185-120.ip98.fastwebnet.it [93.44.185.120]) (Authenticated sender: nicola) by support.bugseng.com (Postfix) with ESMTPSA id A164B4EEBF07; Thu, 20 Nov 2025 20:33:23 +0100 (CET) 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: c7f230a1-c647-11f0-9d18-b5c5bf9af7f9 Authentication-Results: bugseng.com; arc=none smtp.remote-ip=93.44.185.120 ARC-Seal: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; cv=none; t=1763667204; b=aLFB7evADIquXxgGDFc320N1zTWObCfTB7aSi+lUnGsfQd+SaDp18Y6vbBVRxtqRC2u2 GQo0j66pWqcnq2nANFuI1kBNEJ6LbhBwOPMdAzLa27oLi58TG5RIWmEVq4VmKD6ovG0nr Wtbh+ad5NsNcJwzA1teM7TCEDjgSWAHSyZzVZZg4vKBlhyW7f+PsqxpNMf7xR8+E0H/jR BMi3naKJBrPbsfyo+BLyW5nTfojY4Fzykag3LtVKJAjEZvzuPJlC70WMoAppk18RJCQE8 HZyiCf+ommjxFJQvvDbkvO55bT1dKl0nAbSc8pgObBOItcR1qB5HCUanIB/scbYw/3kl+ lbAnFa/uPQclzfXXazBaXFSEV1XlYyk7WIgN+hdO52Pj4HIgDG/6rs8B09TIj9yv1Eiix OBYmJ39F8CltupKpxvxn0k5Fxb9yHzxngygGQqfvkTfClAHxubp05NFaAbVqGt0HBIf0Y 2gFwJwHgluX1tHWw7sTz+2KnIUwzSbNWI8x5x/Ywp6iTbCzr/ug6x2LK6wv+r/aUt5+q3 lvejVYMILxGmfoMGTc9zLAkKn5YsrWYKe7Jl1ybOle9wywjI2ej2nq1avKdhJ+dOmcQ0w 9D04TpLBK1p1iBls59JKZdw2WChzR5yUKD27PNSoX3wqQNyYpeKvWyvN9tkJM6Q= ARC-Message-Signature: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; c=relaxed/relaxed; t=1763667204; h=From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=1QuMs1/9Gq1gFIiBb+i2lk9Yrl5XzVkDzoTNLAZZEJ0=; b=Hlyjvb/w6XumCYs1XVcDJCWR+enCCdwJe7ny51H4XAFCM+/4CbiFazH1U9OD8YzWOTdL sE0i4AfdMg6uOObOZ2uL15meuLcJb/vubyQfovJLoZksg0/C4kYnbAj8UEq4l7t3QzC6N b0CPWIFgoEAQwqwj7wjrDVn/3wnQfXjs9C7ABJz75yKsWbkYG72WUBMCur3L61TpFEMii 3jf+PNRI0Gz8uK18EUBE5N1PZX/D3uXaONx31f5nLh5ZDuUiEJG2HNVIAR0xk+z2Sm6Sj yy1zV+xLv/8bCH//t8uY5nTsPlSa5LRL+7r1JZMIu8afQZeQmd2h2kP95YfTeg++v8gPK QCiSPKDQf7ccnbXY3JOXy1VAHaDOP7mlwYBcLxaEFCvO9Np/APvn9CFRvm0jzoDDP4m7g pKszEu1Al6ZhElN1fodEPCrz2LQepH5GoZqHVmKth+4opLlEs+Fsok2LWQm8JEpKNNd+c zQ/2TBJFaUGDk357JdbqZHFq1IaecOJUbh2wmtYAMkl+wihFXmTKojdef7dlPKZe87cjn sZ3uak3Wjx4xQtC2piBcdSuqe43xy0ITQDVlfY6Jn3F/23lziLXt+JL/Rk1WMGhmP2Qic sgAWl63XgBtLf/Ql2r8KhILAHjayihIisOlJLjZsR3ePte5F9xoujBJIGp6bKx8= ARC-Authentication-Results: i=1; bugseng.com; arc=none smtp.remote-ip=93.44.185.120 From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, jbeulich@suse.com, sstabellini@kernel.org, Nicola Vetrini , Anthony PERARD , Michal Orzel , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Subject: [PATCH 4/4] xen/param: address violation of MISRA C Rule 8.2 Date: Thu, 20 Nov 2025 20:32:56 +0100 Message-ID: X-Mailer: git-send-email 2.51.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1763667231552018900 Content-Type: text/plain; charset="utf-8" add missing parameter name in function pointer member declaration. No functional change. Signed-off-by: Nicola Vetrini Acked-by: Jan Beulich --- xen/include/xen/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/xen/param.h b/xen/include/xen/param.h index f5a2189400..3b6f134b07 100644 --- a/xen/include/xen/param.h +++ b/xen/include/xen/param.h @@ -90,7 +90,7 @@ extern const struct kernel_param __setup_start[], __setup= _end[]; struct param_hypfs { struct hypfs_entry_leaf hypfs; void (*init_leaf)(struct param_hypfs *par); - int (*func)(const char *); + int (*func)(const char *s); }; =20 extern struct param_hypfs __paramhypfs_start[], __paramhypfs_end[]; --=20 2.51.2