From patchwork Fri Feb 23 09:35:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Vetrini X-Patchwork-Id: 13568786 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 686BEC48BC4 for ; Fri, 23 Feb 2024 09:36:02 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.684705.1064732 (Exim 4.92) (envelope-from ) id 1rdRy7-0005xW-RW; Fri, 23 Feb 2024 09:35:47 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 684705.1064732; Fri, 23 Feb 2024 09:35:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rdRy7-0005xP-Os; Fri, 23 Feb 2024 09:35:47 +0000 Received: by outflank-mailman (input) for mailman id 684705; Fri, 23 Feb 2024 09:35:46 +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 1rdRy6-0005xJ-4F for xen-devel@lists.xenproject.org; Fri, 23 Feb 2024 09:35:46 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id ea80ec04-d22e-11ee-98f5-efadbce2ee36; Fri, 23 Feb 2024 10:35:44 +0100 (CET) Received: from nico.bugseng.com (unknown [46.228.253.196]) by support.bugseng.com (Postfix) with ESMTPSA id B75ED4EE073F; Fri, 23 Feb 2024 10:35:42 +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: ea80ec04-d22e-11ee-98f5-efadbce2ee36 From: Nicola Vetrini To: nicola.vetrini@bugseng.com, xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, consulting@bugseng.com, Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Wei Liu Subject: [XEN PATCH 0/2] address some violations of MISRA C Rule 17.7 Date: Fri, 23 Feb 2024 10:35:35 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 MISRA C Rule 17.7 states: "The value returned by a function having non-void return type shall be used". Therefore the functions that are subject to this series are refactored to address these concerns. Nicola Vetrini (2): xen/console: drop return value from consoled_guest_rx/tx xen/cpu: address MISRA C Rule 17.7 xen/common/cpu.c | 31 +++++++++++++++++++------------ xen/drivers/char/consoled.c | 17 +++++------------ xen/include/xen/consoled.h | 4 ++-- 3 files changed, 26 insertions(+), 26 deletions(-)