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 48A8E606A31C for ; Mon, 30 Nov 2026 16:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=qbgY7/xE; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=97d8Hg9c; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=XePWMvw6; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=DdvKFAFg Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xY4W2-00040K-06; Mon, 30 Nov 2026 11:46:13 -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 1xY4VX-0003wu-9I for qemu-devel@nongnu.org; Mon, 30 Nov 2026 11:45:39 -0500 Received: from smtp-out1.suse.de ([195.135.223.130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1xY4VS-0003so-7E for qemu-devel@nongnu.org; Mon, 30 Nov 2026 11:45:38 -0500 Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id E36BD2295F; Mon, 30 Nov 2026 16:45:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1796057132; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xQDqXQcFwhcxKCfZrWR9zfSMnH+GM16ae+i0mMNmRdw=; b=qbgY7/xE6qCSBAHyG3mM6os9NjQBk+E96LmVHRT9a2D8eBB66QKSWIFITWp8+F4uC1I+3V icOHvu+2CTcvQQ8ilb0URtlarr9IV5ADS3FeFOnREvAfR1qVTmVXmUP6KYnQ+yG6s8dCCU CqjbE6Qj2ivnTGm52mVR4rZOYWWlQpw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1796057132; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xQDqXQcFwhcxKCfZrWR9zfSMnH+GM16ae+i0mMNmRdw=; b=97d8Hg9cGOlvLRdX0jfHd6YVVCKEJ0lMGNjOyTJY7emU8bh0J82X01x0jon35BLQ4WaYSF jBgRgUh4BWv/bIDg== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1796057130; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xQDqXQcFwhcxKCfZrWR9zfSMnH+GM16ae+i0mMNmRdw=; b=XePWMvw6qmZDVRE6VlQgTjAdAD/8Tl+1B8dhOOpljhpxCuXMZmV+LJyKSqlE58CJl43qQk 3GH4uoiWhXDTHl7aqt4UGo9YT0qnXfAZ7wyzQv2mjc18L7EUSt42F4sB9kGtrMHfpNJIfg QXYEfM2zPj47IE5aMWZoA9iJU3PBIpI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1796057130; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xQDqXQcFwhcxKCfZrWR9zfSMnH+GM16ae+i0mMNmRdw=; b=DdvKFAFg4eALAKMGnxP0GWvS2/dT1oX85ryPrPTlBfrSTpvb6gDyD9oQHdBUnL25/Qsysk EGwp7vuvXIM0HhBw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 3561413326; Mon, 30 Nov 2026 16:45:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id YiOOLymoDWvJIQAAD6G6ig (envelope-from ); Mon, 30 Nov 2026 16:45:30 +0000 From: Fabiano Rosas To: =?utf-8?Q?C=C3=A9dric?= Le Goater , qemu-devel@nongnu.org Cc: Paolo Bonzini , Peter Xu , Laurent Vivier , Zhao Liu , =?utf-8?Q?C=C3=A9dric?= Le Goater Subject: Re: [PATCH 3/5] tests/qtest/migration: Drop orphaned tmpfs global In-Reply-To: <20261130125615.728947-4-clg@redhat.com> References: <20261130125615.728947-1-clg@redhat.com> <20261130125615.728947-4-clg@redhat.com> Date: Mon, 30 Nov 2026 13:45:26 -0300 Message-ID: <87ld6ab74p.fsf@suse.de> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-13.30 / 50.00]; SUSE_INTERNAL_BYPASS(-9.00)[]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[suse.de:email,imap1.dmz-prg2.suse.org:helo]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_SEVEN(0.00)[7]; MID_RHS_MATCH_FROM(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.de:email] X-Spam-Score: -13.30 Received-SPF: pass client-ip=195.135.223.130; envelope-from=farosas@suse.de; helo=smtp-out1.suse.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS autolearn=ham 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 C=C3=A9dric Le Goater writes: > tmpfs has no users left since the unix migration tests derive the > socket path from MigrationTestEnv (commit 718b9e4eb6bc and friends). > clang 23 reports the leftover as -Wunused-but-set-global: > > ../tests/qtest/migration/compression-tests.c:21:14: error: variable 'tmpf= s' set but not used [-Werror,-Wunused-but-set-global] > 21 | static char *tmpfs; > | ^ > 1 error generated. > > Remove the leftover global. > > Signed-off-by: C=C3=A9dric Le Goater > --- > tests/qtest/migration/compression-tests.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/tests/qtest/migration/compression-tests.c b/tests/qtest/migr= ation/compression-tests.c > index 848576054ff9..9aa5063871e8 100644 > --- a/tests/qtest/migration/compression-tests.c > +++ b/tests/qtest/migration/compression-tests.c > @@ -17,9 +17,6 @@ > #include "migration/migration-util.h" > #include "qemu/module.h" >=20=20 > - > -static char *tmpfs; > - > static void set_multifd_compression(QTestState *from, QTestState *to, > const char *method) > { > @@ -174,8 +171,6 @@ static void migration_test_add_compression_smoke(Migr= ationTestEnv *env) >=20=20 > void migration_test_add_compression(MigrationTestEnv *env) > { > - tmpfs =3D env->tmpfs; > - > migration_test_add_compression_smoke(env); >=20=20 > if (!env->full_set) { Reviewed-by: Fabiano Rosas