From patchwork Tue Jun 25 10:14:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alessandro Zucchelli X-Patchwork-Id: 13710819 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 E2749C30658 for ; Tue, 25 Jun 2024 10:14:55 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.747547.1154983 (Exim 4.92) (envelope-from ) id 1sM3CD-0007WX-7p; Tue, 25 Jun 2024 10:14:41 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 747547.1154983; Tue, 25 Jun 2024 10:14:41 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sM3CD-0007WQ-5H; Tue, 25 Jun 2024 10:14:41 +0000 Received: by outflank-mailman (input) for mailman id 747547; Tue, 25 Jun 2024 10:14:40 +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 1sM3CC-0007WK-IR for xen-devel@lists.xenproject.org; Tue, 25 Jun 2024 10:14:40 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id bada7cc0-32db-11ef-b4bb-af5377834399; Tue, 25 Jun 2024 12:14:38 +0200 (CEST) Received: from delta.bugseng.com.homenet.telecomitalia.it (host-87-17-171-46.retail.telecomitalia.it [87.17.171.46]) by support.bugseng.com (Postfix) with ESMTPSA id A83A64EE0738; Tue, 25 Jun 2024 12:14:36 +0200 (CEST) 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: bada7cc0-32db-11ef-b4bb-af5377834399 From: Alessandro Zucchelli To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Alessandro Zucchelli , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini Subject: [PATCH 0/3] address violation of MISRA C Rule 13.6 Date: Tue, 25 Jun 2024 12:14:18 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 This series aims to address several violations of Rule 13.6 which states the following: The operand of the `sizeof' operator shall not contain any expression which has potential side effects. Alessandro Zucchelli (3): common/kernel: address violation of MISRA C Rule 13.6 xen/event: address violation of MISRA C Rule 13.6 common/softirq: address violation of MISRA C Rule 13.6 xen/common/kernel.c | 5 +++-- xen/common/softirq.c | 3 ++- xen/include/xen/event.h | 8 +++++--- 3 files changed, 10 insertions(+), 6 deletions(-)