From patchwork Tue Jun 21 15:44:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xenia Ragiadakou X-Patchwork-Id: 12889433 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 4AE91C433EF for ; Tue, 21 Jun 2022 15:44:34 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.353304.580232 (Exim 4.92) (envelope-from ) id 1o3g32-0006hK-3H; Tue, 21 Jun 2022 15:44:12 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 353304.580232; Tue, 21 Jun 2022 15:44:12 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1o3g32-0006hD-08; Tue, 21 Jun 2022 15:44:12 +0000 Received: by outflank-mailman (input) for mailman id 353304; Tue, 21 Jun 2022 15:44:10 +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 1o3g30-0006h7-LG for xen-devel@lists.xenproject.org; Tue, 21 Jun 2022 15:44:10 +0000 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [2a00:1450:4864:20::533]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id fced05df-f178-11ec-b725-ed86ccbb4733; Tue, 21 Jun 2022 17:44:08 +0200 (CEST) Received: by mail-ed1-x533.google.com with SMTP id es26so18233706edb.4 for ; Tue, 21 Jun 2022 08:44:08 -0700 (PDT) Received: from uni.. (adsl-190.37.6.169.tellas.gr. [37.6.169.190]) by smtp.googlemail.com with ESMTPSA id q16-20020a056402033000b0043564320274sm10090705edw.19.2022.06.21.08.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 08:44:07 -0700 (PDT) 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: fced05df-f178-11ec-b725-ed86ccbb4733 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IJxvF7GeSYmid6ScjNEEek498j+4eSxJj5t2L79Xl+E=; b=ERDoRgYzh09EpTuGJ4Ne37c9ffY1DEjgZeztSETgJYYKUoulwFd9Z7JDcruu7SVVih 9nvRYg71b6+utykU4GKc4jm0O2fwA6juehVcWlb5INeg6R/jlUcqcG5JjTSlowPzYMSG a8J+vQzFYSF9fIA20U7Qyhn03CWC87lj3IqTNiIVxhOEfWQI7GQOdlmB86w/nL5eC7qp 6FoDFotzt/uhu3v2sqxhBE1bsdE5Yiq26UyDJQ/2SNC+1izotfYHNzsZ1CUqiKv2BEMw dtanUBLCMkeAQxXHFmGRbd1sGF04G5Tk8e4OEo6VIrfrHIrGtFhoK/tiCxz6Lv+zUV73 +Q5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IJxvF7GeSYmid6ScjNEEek498j+4eSxJj5t2L79Xl+E=; b=Db4XTeY5mIORWe/r1eVoCWNd8z3FXRDMWwnR89ZQSPvJVL5CXDqDlI+nQ3zQNYktu3 8BIYWDMMOfVd/CeOcA9n3dxxlJ46uaPJMisGRv7EiJzHlw67UfxoTYGnrgFn9XVbvuYv VPRxoe808f7h1pPaCXMoDKy5GveyF66hX2sI5Jo+43C47To/i+/gNeG4dVmUCViZK8mL Vv5aUy7RoxziufJLAZzukCt5dvyPKn7XtMaCBXK7uKRTvU+l1hAJ5GW7QrDBmjyoF23q A5Cnfnm35EW+RcP+nTvMpz3EYPLdvGTWBfVjsx047u/UTFa10EPj3EQlksZxPF0z7NIz HnTQ== X-Gm-Message-State: AJIora86C+zDwSxn8dxob3bA6IRsJVP3fsvm+pvIwkXvuRNaCegnmSJK evyGfJ4xvqGOXg1pgq1K7yUtBdxStDs= X-Google-Smtp-Source: AGRyM1vHWdTBeZG1DoXCObuAEzsXuhhg6bJU+EOzlXvuq81EdRlC2Jo74IcX77tViHZm7kJ8kJJE/Q== X-Received: by 2002:aa7:c881:0:b0:435:5dc4:5832 with SMTP id p1-20020aa7c881000000b004355dc45832mr28151980eds.265.1655826247808; Tue, 21 Jun 2022 08:44:07 -0700 (PDT) From: Xenia Ragiadakou To: xen-devel@lists.xenproject.org Cc: Xenia Ragiadakou , Stefano Stabellini , Julien Grall , Bertrand Marquis , Volodymyr Babchuk Subject: [PATCH 1/2] xen/arm: vtimer: Fix MISRA C 2012 Rule 8.4 violation Date: Tue, 21 Jun 2022 18:44:01 +0300 Message-Id: <20220621154402.482857-1-burzalodowa@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Include vtimer.h so that the declarations of vtimer functions with external linkage are visible before the function definitions. Signed-off-by: Xenia Ragiadakou Reviewed-by: Stefano Stabellini --- xen/arch/arm/vtimer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c index 5bb5970f58..5f26463354 100644 --- a/xen/arch/arm/vtimer.c +++ b/xen/arch/arm/vtimer.c @@ -29,6 +29,7 @@ #include #include #include +#include #include /* From patchwork Tue Jun 21 15:44:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xenia Ragiadakou X-Patchwork-Id: 12889434 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 E3AE6C43334 for ; Tue, 21 Jun 2022 15:44:34 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.353305.580243 (Exim 4.92) (envelope-from ) id 1o3g34-0006wi-BA; Tue, 21 Jun 2022 15:44:14 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 353305.580243; Tue, 21 Jun 2022 15:44:14 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1o3g34-0006wb-7o; Tue, 21 Jun 2022 15:44:14 +0000 Received: by outflank-mailman (input) for mailman id 353305; Tue, 21 Jun 2022 15:44: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 1o3g32-0006h7-SU for xen-devel@lists.xenproject.org; Tue, 21 Jun 2022 15:44:12 +0000 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [2a00:1450:4864:20::629]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id ff24ab11-f178-11ec-b725-ed86ccbb4733; Tue, 21 Jun 2022 17:44:12 +0200 (CEST) Received: by mail-ej1-x629.google.com with SMTP id o7so28401502eja.1 for ; Tue, 21 Jun 2022 08:44:12 -0700 (PDT) Received: from uni.. (adsl-190.37.6.169.tellas.gr. [37.6.169.190]) by smtp.googlemail.com with ESMTPSA id q16-20020a056402033000b0043564320274sm10090705edw.19.2022.06.21.08.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 08:44:10 -0700 (PDT) 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: ff24ab11-f178-11ec-b725-ed86ccbb4733 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LrkB1fU20QvlNrcfiWTsM7um/FmclqwQ8isYFawF1LU=; b=bCFA5QY7DfLHY3/8Oe/yq77T5aHUuablw6uGDGGcZ3r856P/ZF6tMbZ1CfHC52XlOW U5k2uNbRoghYkzcMabIMSLS8MihBzB72QXiFlIFq7PUNyCPrrGzB5WBmCT7ex/G20bVU qeE+rLGaG753EucfFRIGQam/2jHp4TBwn2+tVYVcEn6QcCeNpHuMAigLbEtEn/DGthEm Eo+j5zNZsnJ5e9W9GqQTznZ/DxUA/H26jZVWjzzig4npsfhzSCzik2MdQ/Dh78BqqDWP JmhBP8osCAODYCk9Cwtqo3P91ty2WB2HOh7F4ym9ArEe+E170ZHJG2HjdijCAOdKO7Qn m7sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LrkB1fU20QvlNrcfiWTsM7um/FmclqwQ8isYFawF1LU=; b=GswjVCPL33ITtaZ0AQmD9MScXu6e3kKwF5HzbRWYTjEX/buVVTPr23sgytDOo1oRmP kQwpLqcuy6169gWP7opUBK279TomvpAtAZRfxAY5AJQn8GYbtU2kNs0b+h3EcPCl/Lkj fzLOY27A5y1GZHksnXwJwlM1jbYKILGJpIUGzDRsxYN+LDUlO04z3pqrr7kS49oTwpuw qvWjQdQJcmfDQ8567lubHy61OuCJ4kClPRm/x0SDWCDDVHSkyX+iuTRVhNvJtNU048DH XiXCjbYJFKCk7GsJrfwOwdgUdQqEODDchtj5BnkvpvIXHNnfeGSe2t4HjPh0j+aLQheu QzAQ== X-Gm-Message-State: AJIora+OI1ecHhF+9qkupQRMCJw8bxBmHFBg9Repb/1iru9MjhP5mJrd ZWjK7saITFqjYVCQujiZn0XdhnAs+us= X-Google-Smtp-Source: AGRyM1tbIFBPp38itQ0rLLYjoQQrzfd1A81yW71wh8tUtMFxr1jPzTtguP95LUoeyEnWWDyTFkmP8g== X-Received: by 2002:a17:907:72d6:b0:722:e59a:72f4 with SMTP id du22-20020a17090772d600b00722e59a72f4mr2968623ejc.158.1655826251590; Tue, 21 Jun 2022 08:44:11 -0700 (PDT) From: Xenia Ragiadakou To: xen-devel@lists.xenproject.org Cc: Xenia Ragiadakou , Stefano Stabellini , Julien Grall , Bertrand Marquis , Volodymyr Babchuk Subject: [PATCH 2/2] xen/arm: vtimer: Remove duplicate header Date: Tue, 21 Jun 2022 18:44:02 +0300 Message-Id: <20220621154402.482857-2-burzalodowa@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220621154402.482857-1-burzalodowa@gmail.com> References: <20220621154402.482857-1-burzalodowa@gmail.com> MIME-Version: 1.0 The header file is already included above and can be removed here. Signed-off-by: Xenia Ragiadakou Reviewed-by: Stefano Stabellini --- xen/arch/arm/vtimer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c index 5f26463354..6b78fea77d 100644 --- a/xen/arch/arm/vtimer.c +++ b/xen/arch/arm/vtimer.c @@ -30,7 +30,6 @@ #include #include #include -#include /* * Check if regs is allowed access, user_gate is tail end of a