From patchwork Tue Dec 17 22:38:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 851459 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp615410wrq; Tue, 17 Dec 2024 14:40:54 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUEZB8wmhMwQOaKbmcH46+jBJEYa6fUdMxTpGHwy0+pJppkYe2Y4tLqUik3XS3bcnpCLH58Cg==@linaro.org X-Google-Smtp-Source: AGHT+IHSqXYCGc1fKSLKWMiO4WlTrH3Z/fYm/yyrXyO4obd3rdSz1QGo/jqItl7POOYDdKs3DZRw X-Received: by 2002:a05:6214:48b:b0:6d8:8874:2126 with SMTP id 6a1803df08f44-6dd091ad6a8mr14816876d6.11.1734475253958; Tue, 17 Dec 2024 14:40:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734475253; cv=none; d=google.com; s=arc-20240605; b=JR/5+chQ/8N0i45jmLFmnZN4DMhVOXsu4WGEPZ24H4EAejye1hXIYebQDK3UWhYsz2 C5uQD0Sqj0YnXS4RU72biDkL6KzhR5gVApSdIQpNbsxSEk0QMIHYJLn/JY6BvxA/6de6 Fu5Rewf5jWulxC50wYo6+00eEBLoZ3MxovUGgcMaRlVN2ZId4BP8pHrZ//PmLVxv9gQi GcnxLnJ0bcVm4xz3Trxf++ZzoPQpkrmqlYwEuy4D7A9pxq/5/L6JChFjZEa6YWI445g9 Pwywjvcw5clB8AEEkROzilJ98KVxtTszAl5X6G7pA2C7u2iuTQDArhASZMuVNaDv41nF 6QHA== 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=cpYSyAxaLUq+FGwtpjTxiPWQf+sG11OxsgGPSOFXX90=; fh=+NflhOdr9R5O8MPEqbGfWeoDmt6zsMvcpjNabm4DZ9U=; b=b1kqeeuZTNYlRcKYo0P4xzT1bRsXQ9zni8Mgh2PxLXcJmqTDZj9KaQOS+nkVAl+xyq jg86NStObwroq8sOXWsl2Tl9FMMuKCFZXWPBr2K4B6VlpQJ9okHTW/msu974plLXhgHG HVu7xv34hPWTSvOuiYqLXew62QN7wEpzefEw7jGKWq0cK3PgzhATR5khHK11jP3sKxGV 9szD2W9IUwx0Pc65R63zZgSDvwG6OX4gHnriyFx+SrtbPwDGzK0cmArgdFHCY+i6qTIL FDBy7IJNYAbXx22NMQjZ+lu9NISGNB45vqk/y74pZWmkk9BwHMamCT0mQXbFvcLjjXwY 0SKQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RpVSQbpd; 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 6a1803df08f44-6dccd34e4e1si121485306d6.226.2024.12.17.14.40.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Dec 2024 14:40:53 -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=RpVSQbpd; 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 1tNgD6-0005LA-7l; Tue, 17 Dec 2024 17:38:36 -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 1tNgD4-0005KL-Sb for qemu-devel@nongnu.org; Tue, 17 Dec 2024 17:38:34 -0500 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNgD3-0008Py-CC for qemu-devel@nongnu.org; Tue, 17 Dec 2024 17:38:34 -0500 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-21619108a6bso44649785ad.3 for ; Tue, 17 Dec 2024 14:38:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734475111; x=1735079911; 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=cpYSyAxaLUq+FGwtpjTxiPWQf+sG11OxsgGPSOFXX90=; b=RpVSQbpdWQtYS7GSDup6V/gJGbHnXQOc6EwCfYkYq9/JUC+N+guasQ9JPO++lVwH2a aG46RKmUNBa98xhFgRqHFmkgsmpVq6ZUc0OgC+rpBZJzU/RCyNOZWHsP6xBEGIaYNAC5 DrR85nd+eaVO9VQd3IlS1HgT2MeMLieZEXrAZ6hSazpBgNsCkq4GB8LEe3zyO+rknBXv KmjS35kV7APxF/9p+J4quE7FbaIvHMk0m5j1KmfjeQkc6rtPk4WPF+Cx3sE+pF3gkEqo S4NPpzpxUFSiogMghgGWCAm81fz3AWPQY014IySEA9O8ZeeaD/zI/GtWF5AEKQvEjVTr RDZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734475111; x=1735079911; 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=cpYSyAxaLUq+FGwtpjTxiPWQf+sG11OxsgGPSOFXX90=; b=gUg1unI4tjvtDv9x1bggSXBvQrPAm9U17QqK21EZfc0J9Dapwh+DlXqJjnDOJllSxd XtejdZbE1gSFHGKPeseT/grxJnMDk0mPpihGMirc+WCn83/mwT6R8zaAqDUXnFIMOSZk +vw8zFVN239O0Ed95/qUQ3wCcLZ68m5e9flbhhLrYGp6J0pj22+CdEA6Tje4CBGVC8vH IziZZRheLOfhHhRdx4TEt34GmjpBU1PRJ0TJ3BcsWopwca0cimbiZfnv1UyAc1GrVlO8 LgymLoTyYuHU0cgNYQvv7zrn4w2NMoPJDX0Rgrskmvt1Fwxb0hXPJGWoRvsTw9G1jRsu 1x/A== X-Gm-Message-State: AOJu0Yys6yCf97Zl3s+ZRZhVb7wVOzoujxVX+2DcaqG1ei1frjDwlE4A g5aifaEUgnniYT0XbhNHrDH6K1mgIdA9x0WTYIolHTSPVz9MsLPsVPN+eG1HjhVUvBTLeOvd92x loys= X-Gm-Gg: ASbGncs9DuhI036Zx2cpzUCNM8A3eKYtAvYGVvXixtxPmpRStkrn+cvIfmzeXXXaJ3+ m7zesD+VJ9WkUYkgzXTFau4ryKuig7RX0PMn1Rchs7UZTEv5r8a15zkABQQ0dRsVVPZ7FPhvGuS I4uzyPpVbTm3xN5XcLtO+lcMh7ND+PaUeRxQ0ri6EIuQD/VEOLUrRyistSGYreZbYhCdO2lAzqO mH19QMwdrSM82ZtRYAhmIg+WIyjsDHi8s4617icyq3Tc8HjqkvDXDIZ X-Received: by 2002:a17:902:e88e:b0:216:6283:5a8c with SMTP id d9443c01a7336-218d7249598mr7645705ad.39.1734475111497; Tue, 17 Dec 2024 14:38:31 -0800 (PST) Received: from pc.. ([38.39.164.180]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-218a1dccb03sm64869465ad.98.2024.12.17.14.38.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2024 14:38:31 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Paolo Bonzini , philmd@linaro.org, Mahmoud Mandour , richard.henderson@linaro.org, Pierrick Bouvier , =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Alexandre Iooss Subject: [PATCH v2 01/11] tests/tcg/plugins/insn: remove unused callback parameter Date: Tue, 17 Dec 2024 14:38:15 -0800 Message-Id: <20241217223825.2895749-2-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241217223825.2895749-1-pierrick.bouvier@linaro.org> References: <20241217223825.2895749-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x632.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=ham 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 Signed-off-by: Pierrick Bouvier --- 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 baf2d07205d..0c723cb9ed8 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) {