From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A609606E579 for ; Thu, 5 Nov 2026 16:03:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=KmRUTxLn Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xOzvu-0004v8-68; Thu, 05 Nov 2026 11:03:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xOzvs-0004tx-Mf for qemu-riscv@nongnu.org; Thu, 05 Nov 2026 11:03:20 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1xOzvp-0004km-UW for qemu-riscv@nongnu.org; Thu, 05 Nov 2026 11:03:20 -0500 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-4918c2d727fso529585f8f.3 for ; Thu, 05 Nov 2026 08:03:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1793894596; x=1794499396; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:from:to:cc :subject:date:message-id:reply-to:content-type; bh=N5DmdGU+ZWv8SGaih6vanAq6ZBwv7XcwhCv2CEvK9Mg=; b=KmRUTxLnL9hSNmktzSnyxoh2yF7VT+GnsUqTdj0TKGnTurLF01S4Phim3AX5S+tlx9 p0uPOYquGSsJbpvu/3zvM0EqxWra3yMoPJDY+J4ff4j2rK3wu8NHpGR2UabGxZ1ed+4t 47KGJV+7snIn+GEvufgSyPEIU+9hgSberBCd5kLXbYKlm7nBxFsKEErJbjOop0tEA9P9 shNj1DpRVx/BjLoUomdTbrVR+9zODCiQwMJ3PwE69YPcg5Fzl0RdYVPCCI2Z/Zpw5RZh 3UilUYqcW3quhgjDleubZyYnNq3u26L2ABmop0iy8BXe4K63ktXpcvuZ02nhp1wrYIRd aGSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793894596; x=1794499396; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=N5DmdGU+ZWv8SGaih6vanAq6ZBwv7XcwhCv2CEvK9Mg=; b=u4tDVIlfqk5NeSv5LhpaV0lFUCXZmtBba6WNie+NzXRrr4xFzF/l7cSq4g93F2mJ8R j1Wkjq1bi1+XUgNVDC1u54hnbpPx+pErnqiWyiKm2BfTpdERuhnKO1pQLrUui3ml43ZJ 1QvE2Y2Q3hweEVphC27UzvbVX+r3ti8VayncAps0frCufywTG0t/VmYCOZg2YYTWqIWo JTfRJQZiY/vpMiHcIxa8AQcXMcFHZypysKiBhgpd9rHOOkC3nRKW7rgqfeGoaSH/ilWC PEgjWsXv7qNwyLsD/pMTFFS/0S1fREwbjN3A9viuBTHSWnFQ5jiI63JiUGgfdOv+PhCs r30Q== X-Forwarded-Encrypted: i=1; AKwUvBy/zL7VEK35200G7Cprj5NLohVnRQZ+Bup/YuVgLOPg9tJUL8p+GftClqomylVs+a5EApAQ53XA5v6F@nongnu.org X-Gm-Message-State: APuU4Z8nws3eQvmXo6x9eJR4kY/N9BqO/GO1bDtz1n57i7eQMiA6E6YW +6iCexAmRLhsQMs9MOE9SIzJdFqpceaEvyggVfxzNlbve1zcOb2C9vbuiJIOgLM7DlY= X-Gm-Gg: AYBFou0PAjGgIWPeNv3PO6/uYfdhPUJRoUjLaVD1WVnSQb5eYOkP7V4JbvB1D9dVpqa nolRqQSCEwm86CXnXjCvgTx10WjBxwqhIuwXXrezix0GWbFRjm9qCLMGeVlwqdsBXehxYgZ4t6/ Cno29XYV4elnUUH8GvUtXD6pR/JDmjxCikoipijKOhOS8vSEnsi39mHzJ8aTCDwhA3EA34YN3AN GZ6p7xdaufoDcTRhSZBKL8x4jyFd0UhFMeE53xbNb2A5jrmvKMeoErDFlMqrkT4cJqR0Z1YIE1C FjBAfC2YPLK4f8IQYntPiv8q9e9EoZLtl3427MTyJwv47D/t/W+gT9Ra9HKnsk2+l5GBLbt/rTB BT5uERwIsctYsi6wCpKfs4l05+yQZSJ2FTWCo8Vfh+yNaaBlAMhvLoD8mx7HdyQAsOlDuKDlBhL oaQ4pXDH8yhWCbDAXgjkr+EvcNUUkObPYxgYaioKKuPxYH+PczRmH/3bh6bracY3JVJOUWY0pGy q+nzjec5q3JVyBqJwObFkXi2erqNNxGXVTARS0fGrTZzp4RBMcSTEPldGdoHS+IbB2ZCamIJroa zb5RTR2M26wHprbLfMEoHwikTZL8 X-Received: by 2002:a5d:5d13:0:b0:48e:6f84:2e8e with SMTP id ffacd0b85a97d-49275eeefc2mr61877f8f.39.1793894595150; Thu, 05 Nov 2026 08:03:15 -0800 (PST) Received: from draig.lan ([185.124.0.158]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48fecac2772sm10277010f8f.18.2026.11.05.08.03.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2026 08:03:14 -0800 (PST) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 6BD985F8AF; Thu, 05 Nov 2026 16:03:13 +0000 (GMT) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Markus Armbruster , Michael Roth Subject: Re: [PATCH v2 03/17] tests/unit/qobject: Replace deprecated sprintf() with g_strdup_printf() In-Reply-To: <20261105125203.40320-4-philmd@oss.qualcomm.com> ("Philippe =?utf-8?Q?Mathieu-Daud=C3=A9=22's?= message of "Thu, 5 Nov 2026 13:51:48 +0100") References: <20261105125203.40320-1-philmd@oss.qualcomm.com> <20261105125203.40320-4-philmd@oss.qualcomm.com> User-Agent: mu4e 1.14.5-pre1; emacs 30.1 Date: Thu, 05 Nov 2026 16:03:13 +0000 Message-ID: <87eccz6zb2.fsf@draig.linaro.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x429.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-riscv@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Philippe Mathieu-Daud=C3=A9 writes: > Replace sprintf() by safer g_strdup_printf() to avoid > when using Apple clang 17.0.0 on macOS ARM64: > > ../tests/unit/test-qobject-output-visitor.c:598:9: warning: 'sprintf' i= s deprecated [-Wdeprecated-declarations] > ../tests/unit/test-qobject-input-visitor.c:600:9: warning: 'sprintf' is= deprecated [-Wdeprecated-declarations] > > Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro