From patchwork Sun Apr 23 10:19:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 676334 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp1669314wrs; Sun, 23 Apr 2023 03:22:04 -0700 (PDT) X-Google-Smtp-Source: AKy350aE+7iEI+9C8iaIO7P9f8QSiQ5IRBymA4YHddrsqjbowqBVEvOOrxmNfTXZnGY8fcyfKOvP X-Received: by 2002:a05:6214:4111:b0:5e8:ea1c:69fe with SMTP id kc17-20020a056214411100b005e8ea1c69femr17121587qvb.42.1682245323942; Sun, 23 Apr 2023 03:22:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682245323; cv=none; d=google.com; s=arc-20160816; b=qaCKrAUA0i2nlhJK/3z8Rn15gscT9W8/ubrtxS4vXN7IDtn4ihOFnGHDedtmTNa+OM XkXjgURSfqWjYXn31eEJ0k0tnnB6BJsWEjemEDu5nR5fVqZCRujJDbr+HCvsxLDe2T0w 5+NnEcbVsilGKraCxdQl320fMow5kDRrxbLZluGXUUr1D5SC7aFSrE37/RDr5n+AWaBZ x4oWf6X+CtSVnP4HY+arAT/JClsTpZxJB+XGRRNqW3BxDe6kRdHWc17UXb21TkcN2SN7 FSTCDaoqOgcGCusFf+sbmy7/Na+xnqAZrNPLF6d9LGmY9QhjF/8J0o7/l0o5rpj9L9Cp W5qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=DlCEezywh40CII1Ekv+/qswvYgjicRodLvgEM9MYLf0=; b=P6IduSovL3aDWWPcaTJ+Ak7/fKi4CKk5MK2lgQi/tfGSO/4Er2OlDCcnQJc9k8FMzi ccIRAQdOzJwhAw0SBi3+xLKLCBlBbfPykv8yf0Ds8HnO3M9Tm5NXcZzfMqt7WD8UBpkP fAXC5am+ACPxz635cLvB6Kk9zyRvUhmR/mOA6xR6AWE9QDRz92VnU+Yaf4WAXg1Q86Oh lV4UboKneSv3CUYYtAiBugwsSSQ6METvxxf9dBTmC++1faXyH1DDMOo9O0zDzhYk3cTk xoEfLglv3U5NSthu9PYuCW1YG+qw8eKcS29mqoSYKGqdrXsM7JuaLBm6NM/YUI2EDIML Zi8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Esnisv4D; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p10-20020ad45f4a000000b005c27e2772dfsi5789074qvg.41.2023.04.23.03.22.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 23 Apr 2023 03:22:03 -0700 (PDT) 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=Esnisv4D; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqWpO-0004F7-LR; Sun, 23 Apr 2023 06:20:20 -0400 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 1pqWpF-0004D9-8z for qemu-devel@nongnu.org; Sun, 23 Apr 2023 06:20:13 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqWp7-0003Fe-2c for qemu-devel@nongnu.org; Sun, 23 Apr 2023 06:20:07 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-2f40b891420so3239477f8f.0 for ; Sun, 23 Apr 2023 03:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682245199; x=1684837199; 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=DlCEezywh40CII1Ekv+/qswvYgjicRodLvgEM9MYLf0=; b=Esnisv4DesH3et9pVNf+Egp3PUBqD/s7rR3kva9UN5z0TuwfNh5EU1uQkhPQuAse4Z l06JW7WFWWHhvpW3X1K+LwJgyeEe/HcMRP/IFlTs1cZ1k88ta1t6RL9XLEblkUPiYl3M /iCYANmFmjghqZcpE5Q3O5j/h7vV266A6f+tfccZFqpOMG2gmhyPB8wzHkoHcUg2QIrV ReW4S9MZvQOzTyXMa6PqTOHZ/VmW6BLCavJEUE4wAhQ7Ms3m/bOzSqBWrMfBVlpR1qkE 2OU+cDc8Znb/LT0KagPgR/i1MR/z5mxYqlhsVLWq8I7ycT6+iKrValyGGUqH1QNKEARv ViwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682245199; x=1684837199; 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=DlCEezywh40CII1Ekv+/qswvYgjicRodLvgEM9MYLf0=; b=LmqxouobIbNqE4ROTUIKdV5H4mFUEcYIsohu6W0Wm9VIX1iL7LeFzBALWF4fzJVVF/ 4HfxPywfqgVwTyI1Q0CCI2hCLlvcJCsa002wjkKVv3Z+2HJDCEIukbf38HjBgVdTbqS+ uLtlw+6i4dTnC6A3oc0XR8HU2+4F4cc1Ukc4bTsFn0nIZnuR7e8lrG+1cEsn8uPQXKXL zJIMBHMHNNFyPTYoZYah9SMJ+v4LKkcso+04WidU8D+X+6/G0jb+UfV3Fbz2xMrhEykQ oK7kYtBUeLDthPhpzTJQl6DryPntnMewH7pzsRuyjSWBoMx+vr6gWCKzfTMYjCfc+IFQ aqsg== X-Gm-Message-State: AAQBX9ez29P29nuwayhdaKiM/woAK73Rnld/s+VHcDTzyrsYnyOU/ZDz pixBH74L+xwUbnqmMXC2+vj9TMWY3D8jBs/fnmipBA== X-Received: by 2002:a5d:4533:0:b0:2f5:3dfd:f4d2 with SMTP id j19-20020a5d4533000000b002f53dfdf4d2mr7625320wra.64.1682245199814; Sun, 23 Apr 2023 03:19:59 -0700 (PDT) Received: from stoup.c.hoisthospitality.com (cust-west-loneq8-46-193-226-34.wb.wifirst.net. [46.193.226.34]) by smtp.gmail.com with ESMTPSA id c10-20020a7bc2aa000000b003f080b2f9f4sm12550541wmk.27.2023.04.23.03.19.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Apr 2023 03:19:59 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 14/15] tcg: Clear TCGLabelQemuLdst on allocation Date: Sun, 23 Apr 2023 11:19:49 +0100 Message-Id: <20230423101950.817899-15-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230423101950.817899-1-richard.henderson@linaro.org> References: <20230423101950.817899-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x435.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, T_SCC_BODY_TEXT_LINE=-0.01 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 Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- tcg/tcg-ldst.c.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/tcg/tcg-ldst.c.inc b/tcg/tcg-ldst.c.inc index 6c6848d034..403cbb0f06 100644 --- a/tcg/tcg-ldst.c.inc +++ b/tcg/tcg-ldst.c.inc @@ -72,6 +72,7 @@ static inline TCGLabelQemuLdst *new_ldst_label(TCGContext *s) { TCGLabelQemuLdst *l = tcg_malloc(sizeof(*l)); + memset(l, 0, sizeof(*l)); QSIMPLEQ_INSERT_TAIL(&s->ldst_labels, l, next); return l;