From patchwork Thu Jan 16 16:02:40 2025 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: 857902 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:cc8:b0:385:e875:8a9e with SMTP id dq8csp278255wrb; Thu, 16 Jan 2025 08:08:16 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXRMH1CsjQttswtk6V3PnOj6HELYeRNc4MgevxGtGj2xEKP2i0HIxSKbyGiSUDwm9XAeS12/Q==@linaro.org X-Google-Smtp-Source: AGHT+IE9I5ncdM7J8sONGDiFgVqTzW3JK6QaZHiV9l2YMYtD44jVZF+q/raTbvfzFPcEBW98ZA6E X-Received: by 2002:a5d:5f55:0:b0:38b:e22e:aee0 with SMTP id ffacd0b85a97d-38bec5075ddmr3474985f8f.23.1737043696586; Thu, 16 Jan 2025 08:08:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737043696; cv=none; d=google.com; s=arc-20240605; b=F1QXthCdIQEKMEDh/4Q14IQJ8rh1EAajlJm6RG7iucMooONKrm5DnyRPCE2acHxNFS GWt9TgIP8I+5iP/MT7jGD8fWwQdLbRv9L2ony0+FGeonMOsMoXb+fplwB4ve8erwgoS5 eNa4XUbB31bLgnLWYBsqySvR4x/6O9uX1gMQ1rbX6veKlPBzPHGwmINNArFB6eDL+mo9 x3SJSFozBOlnsVbFJGS0W18hIpjFEJjrl03wuGbJ0EcAScCiQitQ7NeC3PIa4jOAK1IT /JvplK9DrS3uBecZZH4yCEiD+4hyAiw2DTHXrGblKQwzDi2z7PSo0XPMkiD+qX581uhY NIlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=YoVYHxIQ6FzVx9Ejwb1qRhaSC8vYXzudlK+d3/Xo6Gs=; fh=LWJxUxOPIoAG7kV40OipmNLMiNyFM+gQ1dWz4vBqJQ4=; b=eeOhyYxSuGfeUbQcs08cTRvcIsecmXzuZk1bao6f7arZldVANp7LTGCN0B7kU4JKgZ fSqF6bG5/xVN3SOwxEinHUc4DaoE7pj3esi3V25tEVmAZ9nNIYhRUpgjDYVclAi73HrL 16UJ0GOvu9bF0oDMhJSwST9kGr2tDF8a/rYMPoMgTxg3c0pjPMEsfnZV1Wn6Jl3qn9RU z/oU2YrC1cOYBb8/6YDTCFD16TgepgyR9jRS6e40hraOK82JPIfKkZuL5zmnkNfXL2hT 3QGRbHyu/yctjsGAqY113b+fLmG5wW/iCLX9yq2fmj8x8sKIcWra9bt0sIN7CRJc07RG quZg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xm+GRH2d; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-38bf3290affsi152214f8f.699.2025.01.16.08.08.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Jan 2025 08:08:16 -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=pass header.i=@linaro.org header.s=google header.b=xm+GRH2d; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tYSLo-0004HR-FZ; Thu, 16 Jan 2025 11:04:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tYSL7-0003Wq-O2 for qemu-devel@nongnu.org; Thu, 16 Jan 2025 11:03:30 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tYSKz-0001HM-5Q for qemu-devel@nongnu.org; Thu, 16 Jan 2025 11:03:25 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-43635796b48so7482045e9.0 for ; Thu, 16 Jan 2025 08:03:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737043395; x=1737648195; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YoVYHxIQ6FzVx9Ejwb1qRhaSC8vYXzudlK+d3/Xo6Gs=; b=xm+GRH2d4c7ftd/+htyUwJu8eN8M0Bbcfq9uYgkc/1DpklIXoHePGn93sPQGdij0Kc VxjTWX81TWBWtjKv2fNh+Y7LW2v0NbxqfjCMF1HqF+pgJVCBXIPf47/7aU6Bh7zjGM47 qb9LRwZlHvSyV6MEpnMLbhuHyFTEP/MQa2lWBt6gwe01J3UzWlDU8jVnHOUCUHPQUONf 3dakuig684NwpRU0EfbrqBCHONWrXVbJE3xl7O6YAE43LKcbIkUKKhW2gqxOfI6QnPZQ bWY/bOK3bkMS2eC1Kt6g9XNnfE+l9byhD8zpqtlIkWbcReQvJYpgRm86E65mJinouMgP 3Ndw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737043395; x=1737648195; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YoVYHxIQ6FzVx9Ejwb1qRhaSC8vYXzudlK+d3/Xo6Gs=; b=dkxll3ku9W3YYKf4HiL/s3oMru22y8ypWXpllcJKvebus7FWNDLWsg9FQEG/7IBE/y 1R9eHx7jg86s2fuvWRszr7EcU8i+GyS7Cnb6f3WNqHtuxMEJVuh98WrvwEcqgWFexZUM vFgoEQHIBDg6YKWAqSYHCCBe1PCbBxTaP+Jb1GElqKzKxV8OjHpcaI9HWN6FHnqQ0qW3 LgLfHjqak/hyL7tFSLwkzLwv1Za2PGn0zt42lYx0oxy3zZg22TsB6ZKj9O0/pwJrAXz5 1Lvj0SINIE4QkgIOAwBy8eZ3KMIUtbfQPVzYcENw1uAJKt+kAwhnNMC1jvALWEFAwgbj jo7w== X-Gm-Message-State: AOJu0YyekzJv0Ktxyt10NOucAYaQnf8c5MkVjJcNSbDYA6EQa43DcAXQ PhQXPdnd/enyVXNybW2JqJOG5XU7zFhPn6wg2Gza+42BpiGEitQN0WtsXNiosgM= X-Gm-Gg: ASbGncuN6bXw3L5VkmEHHzLa9Ofi16bAZT+C+glKgTTtqztJpH5C7EFjtOjvzrF3XZ4 uBBlU8mxUSmPRaEtCriFVwKUQv0Aj3Ugk/fad850s+loXpBGVq41tVXuK48OV0EtvoJlJd2pKx0 idxwuvXsn+27QoSGHNnPWIjUk6BP0A2f6eE09WEhf4sW1HGJpBSgSQ3Xd+hUsAdPUDwvtlKTd7I 48CMftmKq3fqV54ZLf2SFiylBpa9bWa7fQkTWcLAX9yuiwga2VcCFc= X-Received: by 2002:a05:600c:3509:b0:434:f9ad:7222 with SMTP id 5b1f17b1804b1-437c6b02098mr70020395e9.7.1737043395356; Thu, 16 Jan 2025 08:03:15 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38bf322acdcsm221252f8f.55.2025.01.16.08.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 08:03:11 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 7FE1260872; Thu, 16 Jan 2025 16:03:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Markus Armbruster , Yuri Benditovich , Jason Wang , Cleber Rosa , "Dr. David Alan Gilbert" , Peter Xu , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Stefan Weil , Stefano Garzarella , qemu-arm@nongnu.org, Michael Roth , Laurent Vivier , Mahmoud Mandour , Andrew Melnychenko , Konstantin Kostiuk , Kyle Evans , Richard Henderson , =?utf-8?q?Marc-Andr=C3=A9?= =?utf-8?q?_Lureau?= , John Snow , David Hildenbrand , Fabiano Rosas , Alexandre Iooss , Eric Blake , =?utf-8?q?Alex_Benn=C3=A9e?= , Vladimir Sementsov-Ogievskiy , Pierrick Bouvier , Kevin Wolf , Peter Maydell , Laurent Vivier , "Michael S. Tsirkin" , Thomas Huth , Warner Losh , =?utf-8?q?Dan?= =?utf-8?q?iel_P=2E_Berrang=C3=A9?= Subject: [PATCH v3 11/37] tests/tcg/plugins/insn: remove unused callback parameter Date: Thu, 16 Jan 2025 16:02:40 +0000 Message-Id: <20250116160306.1709518-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250116160306.1709518-1-alex.bennee@linaro.org> References: <20250116160306.1709518-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Pierrick Bouvier Reviewed-by: Alex Bennée Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Message-Id: <20241217224306.2900490-2-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée --- tests/tcg/plugins/insn.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/tcg/plugins/insn.c b/tests/tcg/plugins/insn.c index baf2d07205..0c723cb9ed 100644 --- a/tests/tcg/plugins/insn.c +++ b/tests/tcg/plugins/insn.c @@ -150,10 +150,8 @@ static void vcpu_tb_trans(qemu_plugin_id_t id, struct qemu_plugin_tb *tb) qemu_plugin_register_vcpu_insn_exec_inline_per_vcpu( insn, QEMU_PLUGIN_INLINE_ADD_U64, insn_count, 1); } else { - uint64_t vaddr = qemu_plugin_insn_vaddr(insn); qemu_plugin_register_vcpu_insn_exec_cb( - insn, vcpu_insn_exec_before, QEMU_PLUGIN_CB_NO_REGS, - GUINT_TO_POINTER(vaddr)); + insn, vcpu_insn_exec_before, QEMU_PLUGIN_CB_NO_REGS, NULL); } if (do_size) {