From patchwork Thu Feb 13 22:51:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 183436 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1079940ile; Thu, 13 Feb 2020 14:53:37 -0800 (PST) X-Google-Smtp-Source: APXvYqyzDmd/09KAS5SfjQzP43XF80EBrqfpl6bfpijKIXE4pMIk9dB+uu7xyGpplm9PDJBvazqG X-Received: by 2002:a37:4141:: with SMTP id o62mr17347849qka.282.1581634417181; Thu, 13 Feb 2020 14:53:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581634417; cv=none; d=google.com; s=arc-20160816; b=0SDmDl0P4IxAHl5RgwLq5Uhq9FqP/Au7Dp6wrCL370cyGmfzwnL/kLGzAglmnRcajQ lAfp5VyER1XabJx/Od3qRYLPBoyNWD4VCLKgkyCWpS37iXiHnHoZQgpTWOF8f4Pp287I LKE3JyTWU+wj75KU9ZgrHqEKmcrBjhK2Z/1mHoca1WYDmfe3+OUbxF0jCTYdViRjB45m c5aL2EvO9LWU8vxFUHw3QLeejXnygdQkeGXA79HRTWuMAQfAtnbHWfOiTsJR7xAN/rl1 hneFTH2Y3Of951Gl+/oAykv4bYe2hXjzTOEdZRXwKNfwvpiu4bnbFAS1JRy/DxLuzM9Z YpcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=+sU2DOJAy5PrRToddoYHzVOWw5lnsV1Rabg6J0Rymgg=; b=JEmwkFfYkh1hXx+gX6Ssv4ICb2AEqN+8lgpboLbXVKLnFOngALzrVD+LaAyI8EjOEk AFgCEBcB5N6MBlU+yLb/o78sGMvHCpRA1OaXRHxR4paswOhr1vbs2RenPxrk/AA1nM+3 0ICc7dSjX+PSvdeuyFeZf1r4nPa3NunjJQcNinCgFLBHU0XwyOYUtTzBEQYrLhvQKIjd EXt3KMXnzZM+GFwNm/xzP2U0hQ6jaqzbXXygDPFyGty6pXVGAmXUPniCSFbSl4j1ODvi 4OQnkeDi4TGFjfEis+3RfYtWDbJsKhf86Kl5xun45kN1SKXewCysvZl5ZVDwrce5t990 pdDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=nPFWXlMi; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ej6si1558768qvb.147.2020.02.13.14.53.37 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Feb 2020 14:53:37 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=nPFWXlMi; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NMW-0008SZ-Lk for patch@linaro.org; Thu, 13 Feb 2020 17:53:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40093) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NKT-00054F-Na for qemu-devel@nongnu.org; Thu, 13 Feb 2020 17:51:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2NKR-00043o-Pz for qemu-devel@nongnu.org; Thu, 13 Feb 2020 17:51:29 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:45039) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2NKR-000410-Je for qemu-devel@nongnu.org; Thu, 13 Feb 2020 17:51:27 -0500 Received: by mail-wr1-x442.google.com with SMTP id m16so8716391wrx.11 for ; Thu, 13 Feb 2020 14:51:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+sU2DOJAy5PrRToddoYHzVOWw5lnsV1Rabg6J0Rymgg=; b=nPFWXlMiqA3G6Z05P112WIl+VveRrtQyHQN19D33o06FaBW3+VWDOZT/EhepXV5pXr 3SJxI/XrY1GBI943dAPusxk7oAaB2myge3DyBQNJdqYLakTmfMiuOkNC53iCXvESlG7B Ae4U4FXuwYbECD6QiS2TjfjGFmgABkA7s0WDi6i0ZmjtwAcjS5Lx2C+3IhB8VjvLf1Iw yuGVoIwDA2xnyBSQBTaIZ2txCn//DH5+ldehUHHTWbOGpXwWMQiw2MtDh0HWaokM60lE tKhHhcnz9GXXV/KiOfRGUiQEnXacs5zno/eg+k0/QynOxmaJeIZc5grjfMUsGHVzDli2 J8tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+sU2DOJAy5PrRToddoYHzVOWw5lnsV1Rabg6J0Rymgg=; b=gGvbmpLgx5KGLNxfqwbUa4YuGMn6XodfvEvBShiLDOzDEwDoadrdNfYxvn291bZQUk +UvddNoI6wjF4i4b7luJ7FrTf5sClwqVZ+sLrNVoK2qYsE3/F+FUp4/KChrGsLAOKR5A +ZhxfRalGUw6vezcYQ4/PWV/QN2iJ0LOQtKzjn335N7Hzt/U3nuwlznasIv57WJlS1c1 yB5JPR0GQNjG8b7S+rD82+DdN/Lkd1uvtCjFPtcGvoaKITUkT/WcwMjiz9+muwzo+a+F HX2kW/uFQB33w4ma030RsgQs8iqFRriUXJPR/tBnUhf/Zar/4a6VxY0LzfrUpK6BMyLu zDXw== X-Gm-Message-State: APjAAAVUOyHX9TP2YY3zRyhdNnPLHvTXNhzaXBp0THxzfi6VaB5vYic5 dW28yFdi0DzhEvw6Ofscx0s25A== X-Received: by 2002:a5d:5221:: with SMTP id i1mr22355745wra.44.1581634286598; Thu, 13 Feb 2020 14:51:26 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z6sm4611285wrw.36.2020.02.13.14.51.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2020 14:51:20 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 946081FF9B; Thu, 13 Feb 2020 22:51:10 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 11/19] plugins/core: add missing break in cb_to_tcg_flags Date: Thu, 13 Feb 2020 22:51:01 +0000 Message-Id: <20200213225109.13120-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200213225109.13120-1-alex.bennee@linaro.org> References: <20200213225109.13120-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, robert.foley@linaro.org, pbonzini@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , richard.henderson@linaro.org, f4bug@amsat.org, robhenry@microsoft.com, qemu-stable@nongnu.org, marcandre.lureau@redhat.com, aaron@os.amperecomputing.com, cota@braap.org, stefanha@redhat.com, kuhn.chenqun@huawei.com, peter.puhov@linaro.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Reported-by: Robert Henry Signed-off-by: Emilio G. Cota Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20200105072940.32204-1-cota@braap.org> Cc: qemu-stable@nongnu.org --- plugins/core.c | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/plugins/core.c b/plugins/core.c index 9e1b9e7a915..ed863011baf 100644 --- a/plugins/core.c +++ b/plugins/core.c @@ -286,6 +286,7 @@ static inline uint32_t cb_to_tcg_flags(enum qemu_plugin_cb_flags flags) switch (flags) { case QEMU_PLUGIN_CB_RW_REGS: ret = 0; + break; case QEMU_PLUGIN_CB_R_REGS: ret = TCG_CALL_NO_WG; break;