From mboxrd@z Thu Jan 1 00:00:00 1970 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 DAD5CC10F1A for ; Wed, 1 May 2024 19:55:02 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.715413.1117017 (Exim 4.92) (envelope-from ) id 1s2G2U-0006z1-QI; Wed, 01 May 2024 19:54:50 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 715413.1117017; Wed, 01 May 2024 19:54:50 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1s2G2U-0006yu-Mj; Wed, 01 May 2024 19:54:50 +0000 Received: by outflank-mailman (input) for mailman id 715413; Wed, 01 May 2024 19:54:50 +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 1s2G2U-0006yo-1K for xen-devel@lists.xenproject.org; Wed, 01 May 2024 19:54:50 +0000 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id a94f0c50-07f4-11ef-b4bb-af5377834399; Wed, 01 May 2024 21:54:47 +0200 (CEST) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id DAD7A619F7; Wed, 1 May 2024 19:54:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C51C5C4AF14; Wed, 1 May 2024 19:54:42 +0000 (UTC) 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: a94f0c50-07f4-11ef-b4bb-af5377834399 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714593285; bh=xoJXXr1iAPU4YJ7eR2Ibl3K9W6AbUYpI6MGa15AYcFE=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=bB3YWcpXFxRfZkRvYHVlL//VX89GzHNfQ9dqt8Dsoi3Fi5/r4IWbCXBW5bPRpBjAU t/21AYc8KyyiXj4/yJevpKq4JmFSEVn/d4I/644GxV8a8vq6SzYDl8tGK2pMO9/z1y fvT14Wm9ZphFdbskch0YFEKe5NlwCEfADDkpuvCQZq4P5T+DNhOc16iTyNyis2aOo+ DQOHuv06M1XtDcJMVDfjd/i3FHixFQRXAC1hylYWBUvpAZjy4xo6ZRPdMrEwzkETwB OM0IGoGNHC+XAU8tzcAfEPPkeaLY05Ly3DC5sLapkVY1A0qtDqNnoy2j6fOuay3gqK qTRvx4yTLqBFA== Date: Wed, 1 May 2024 12:54:39 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@ubuntu-linux-20-04-desktop To: Nicola Vetrini cc: Stefano Stabellini , xen-devel@lists.xenproject.org, michal.orzel@amd.com, xenia.ragiadakou@amd.com, ayan.kumar.halder@amd.com, consulting@bugseng.com, bertrand.marquis@arm.com, julien@xen.org, Simone Ballarin , Doug Goldstein , Andrew Cooper , George Dunlap , Jan Beulich Subject: Re: [XEN PATCH 03/10] automation/eclair_analysis: deviate macro count_args_ for MISRA Rule 20.7 In-Reply-To: <5b675fcdf688723bc6d4ea260d10004e@bugseng.com> Message-ID: References: <7de407c218f0911e28b7c3f609a55636165166a8.1713885065.git.nicola.vetrini@bugseng.com> <5b675fcdf688723bc6d4ea260d10004e@bugseng.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Mon, 29 Apr 2024, Nicola Vetrini wrote: > On 2024-04-25 02:28, Stefano Stabellini wrote: > > On Tue, 23 Apr 2024, Nicola Vetrini wrote: > > > The count_args_ macro violates Rule 20.7, but it can't be made > > > compliant with Rule 20.7 without breaking its functionality. Since > > > it's very unlikely for this macro to be misused, it is deviated. > > > > That is OK but can't we use the SAF- framework to do it, given that it > > is just one macro? > > > > If not, this is also OK. > > > > > > It would be more fragile, for no substantial gain OK Reviewed-by: Stefano Stabellini