From nobody Mon Feb 9 03:48:18 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; 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=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1767964710; cv=none; d=zohomail.com; s=zohoarc; b=CK3bQ9dMtYRijHHPCrbVjnTazNpwwhxH+sJcKWFEk8yzc7qWtl9yMT8dt93OVHcEh6lS4k85DbgxXlhrveler/eW2ExQz2bwRiVUKFNqJFBgxl2LKXgm6sN+AS0T3h4Z69uvHy2Pm97x2jIXiQRRrjvbm7bdtQSgX2EoCTigD/M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767964710; h=Content-Type: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=kl0mcpss+Yj4Rz2fFKzFGghxaUBOVqZE+VeCnWQvcfk=; b=TE5uETYTQ4jmHiUmHan24QBuZd0fNy/1f0Hm3/4qxJnKjlFbARMkqXUjBu/79da8TJvscEnevXGSXTyeFHafDrYaakfFa7VoAJoX+xLO/D+YTds5q5H4BvfxRgIsIaVRXTuGdc4G8n5A6Zc4t1Zj0IBt8VKnBxyeiRSSb5rI7CI= 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=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1767964710609841.512059002674; Fri, 9 Jan 2026 05:18:30 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1198779.1515603 (Exim 4.92) (envelope-from ) id 1veCNZ-0007VW-CQ; Fri, 09 Jan 2026 13:18:13 +0000 Received: by outflank-mailman (output) from mailman id 1198779.1515603; Fri, 09 Jan 2026 13:18:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1veCNZ-0007VP-9q; Fri, 09 Jan 2026 13:18:13 +0000 Received: by outflank-mailman (input) for mailman id 1198779; Fri, 09 Jan 2026 13:18:12 +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 1veCNY-0007TV-ME for xen-devel@lists.xenproject.org; Fri, 09 Jan 2026 13:18:12 +0000 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [2a00:1450:4864:20::32e]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id a51a27c7-ed5d-11f0-9ccf-f158ae23cfc8; Fri, 09 Jan 2026 14:18:10 +0100 (CET) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-47bdbc90dcaso31256745e9.1 for ; Fri, 09 Jan 2026 05:18:10 -0800 (PST) Received: from localhost.localdomain (host-92-26-102-188.as13285.net. [92.26.102.188]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47d7f410c6csm220118875e9.1.2026.01.09.05.18.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 05:18:09 -0800 (PST) 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: a51a27c7-ed5d-11f0-9ccf-f158ae23cfc8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1767964690; x=1768569490; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kl0mcpss+Yj4Rz2fFKzFGghxaUBOVqZE+VeCnWQvcfk=; b=Vcwx4iAsIS2X2+v1F2fIB98uGghLlfUfw/BF0wXMONF/ER+RzN3XE3Ebe0Kql+VlV5 j5rxm1eco8Vjn2VFg0E+eQUXnivvTkXYYnE67UMyJwiPUyTYTDmi24zvmvlLCA+B4vWI hAgkmUofxPcWDOe0Wz2GZdN9OhUebfCPolwtk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767964690; x=1768569490; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kl0mcpss+Yj4Rz2fFKzFGghxaUBOVqZE+VeCnWQvcfk=; b=QEH/+UMYrfg6VHj9ZNfauWbkGUBbpQPON4sBEDOx4bp3QcPCOkD0tm6+hXBkjEvcGe LrSthNWW4AYBPBsNJKqC8Glt3jjc247AGF99bDjQ7iQnkXReFSvHrqHO+qbOUh5FHNMj L/42xuWFzIwRLtnMDoYv7k3iSEX+tXJ/GtEen5KFsk8yHEm9w+jt8ivgjDfDsvcELtQg Cjcy62kwKqoQthDDIMrauGOoyZLtSpjxXiORFQDZvI212ZGPV0NPHwFIr3By93IhI/XV j4+NQMwyQO1gWT9CqLKofUOCUnAgscGUQpEXAQK8CPZE5szMvzdl+9DdbU/VvkPbu896 d0QQ== X-Gm-Message-State: AOJu0YwB3pdGHJ+R0C041B+NbEdyOMDboBAxY6AsKZw4SpiwtMVhL7sT Ev+wVeh97pCLLhQxt/0BwX9nrXQARP32Z4TscYqyAGw4ZIF7Mlvv4393iHOBi/b962qX5qwqDk1 6qlxx X-Gm-Gg: AY/fxX4heGbWVwYXKCIE0qahjC0Z/Hlt9MuwhLM+wrbPPxtnZh+I92NCGDWxG32flWg iMJ3Byjmopnicmhkg0oGcj3T6n6cgjFqWqcU5LhOGUX6T/Q9Ot4/OI6FMdU5+c6OXzLVnAncMuj 9aAMh8DCvzzUGa9XiiGOMOdPsVnGlgm2pNQcNvjpTJ1yP+iOi0QnRinM7HRopOqDBvllcV9b7uT 837I6/pGZQ1qIex0oqwT8rXkL65SSwmrHAOSKyBjCTRDyOsRSzX/mlaGkakyRBmHx7caKkjz6K+ PVkXQ3ZFqKhij3mRzVn8qcP+tMleG7lqwv05WNd6AQ7/C4CZrIwvwEqrFM3i6Vs42noX/QPoHDL lbKGICkbXj3KrnCM5c4TVqb9lzlfQMKHb+8dCccGoz1CSSKG7NrOy0he/g3xcN/DbNCMgRwR0PS qr/EwI/Mb2p73vs05YVmYQxZrhNGdPDvXmKdbwTiFYhGr2laPE6KuLi12gFswxzw== X-Google-Smtp-Source: AGHT+IEXUKxQNnEmVexB1DU52hvk7oO4A2mDEWWZHwxmA5zZxAy2XWbblqpu5X95eNW3Qo+lEvjcNg== X-Received: by 2002:a05:600c:190e:b0:477:7c7d:d9b7 with SMTP id 5b1f17b1804b1-47d84b4099amr111919755e9.33.1767964689909; Fri, 09 Jan 2026 05:18:09 -0800 (PST) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini , "consulting @ bugseng . com" , Nicola Vetrini Subject: [PATCH] MISRA: Extend the R3.1 deviation for URLs to include git:// Date: Fri, 9 Jan 2026 13:18:07 +0000 Message-Id: <20260109131807.860397-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1767964712485158500 xen/drivers/passthrough/arm/ipmmu-vmsa.c contains a git:// URL in a block comment. This is also not an example of commented out code, so shouldn't be considered a R3.1 violation. Extend the regex to include git://, and swap hyperlink for URL in the associated documentation to be more precise. Signed-off-by: Andrew Cooper Acked-by: Michal Orzel Reviewed-by: Nicola Vetrini --- CC: Anthony PERARD CC: Michal Orzel CC: Jan Beulich CC: Julien Grall CC: Roger Pau Monn=C3=A9 CC: Stefano Stabellini CC: consulting@bugseng.com CC: Nicola Vetrini https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2252341951 --- automation/eclair_analysis/ECLAIR/deviations.ecl | 4 ++-- docs/misra/deviations.rst | 4 ++-- docs/misra/rules.rst | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/automation/eclair_analysis/ECLAIR/deviations.ecl b/automation/= eclair_analysis/ECLAIR/deviations.ecl index 7dee4a488d45..30c323906924 100644 --- a/automation/eclair_analysis/ECLAIR/deviations.ecl +++ b/automation/eclair_analysis/ECLAIR/deviations.ecl @@ -58,9 +58,9 @@ removed by the compiler, the resulting slowdown is neglig= ible." # Series 3. # =20 --doc_begin=3D"Comments starting with '/*' and containing hyperlinks are sa= fe as +-doc_begin=3D"Comments starting with '/*' and containing URLs are safe as they are not instances of commented-out code." --config=3DMC3A2.R3.1,reports+=3D{safe, "first_area(text(^.*https?://.*$))"} +-config=3DMC3A2.R3.1,reports+=3D{safe, "first_area(text(^.*(https?|git)://= .*$))"} -doc_end =20 # diff --git a/docs/misra/deviations.rst b/docs/misra/deviations.rst index 0d90f5886e7e..17c21537f286 100644 --- a/docs/misra/deviations.rst +++ b/docs/misra/deviations.rst @@ -117,8 +117,8 @@ Deviations related to MISRA C:2012 Rules: - Tagged as `deliberate` for ECLAIR. =20 * - R3.1 - - Comments starting with '/\*' and containing hyperlinks are safe as = they - are not instances of commented-out code. + - Comments starting with '/\*' and containing URLs are safe as they a= re + not instances of commented-out code. - Tagged as `safe` for ECLAIR. =20 * - R5.3 diff --git a/docs/misra/rules.rst b/docs/misra/rules.rst index 4e9425188742..b3e929307d51 100644 --- a/docs/misra/rules.rst +++ b/docs/misra/rules.rst @@ -143,7 +143,7 @@ maintainers if you want to suggest a change. - Required - The character sequences /* and // shall not be used within a comment - - Comments containing hyperlinks inside C-style block comments are sa= fe + - Comments containing URLs inside C-style block comments are safe =20 * - `Rule 3.2 `_ - Required --=20 2.39.5