From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796072826; b=Z4HWyj9m2oWIX7HZMFzBKnr2/7ykNHtLydJXQVtYqGJeobVMYIXCerXLoa/g0x0UR8PI bcWxhNdsk77p1wbowubuVBAXHIEwJuSlhJW/6pnf/YPu87ZHY4U+i1sXR7Adfd2yItxit +6WUGNq3rwW/3HEnw7PcqgyMAYZpZL0h5F+prgKIuxAmpZH0TjBTih/jbZSz5A8voN7dg BVprVHJFtM1eRgfNMYTrhxfluVuk/zlR5H8ZRgfHzB9DKaaJ6/PJ71uQWeVfvgzFXBrJL 0RUX5/k+IWYR72cm1rmZ0HVqT0vRyBW7pyQ8SZG9lB9TAlMbQj5T6I9d/BSX2fiCCsQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796072826; h=DMARC-Filter:Date:DKIM-Signature:DKIM-Signature:From:Sender:Reply-to: To:Subject:Cc:In-Reply-To:References:MIME-Version:Message-ID:Robot-ID: Robot-Unsubscribe:Precedence:Content-Type:Content-Transfer-Encoding; bh=mbxHotFqld55xmdyEvM9QHnk5MPke6FC5QD+NbVF3UQ=; b=tni0Jb+DNpfkEteqMhImVBwTV4UD4TwCyHmX4w/SRnR7aG7ixHGVsI9laeqTzC+J5I93 PzXSvcLH+jB+UHoBNEpSjyOQQUpvVWLMUQLGLi6EkExSW3vkBIdyBKIEuOqGRpBab+U/C TvW8Ml0kOasd85tWs8wtAMfMIPaCMQu7XehKZC7FOyb9gyN/IfKgxUpcofLX2KsVhqeS/ j3611EbiFGWY8X0KbRxytiWJC8T2PLKKxoRcqFrusnMHLAV2EeWsVTszMyBUhWPh0flbD v0q2QLXwKyHLCZ1rDRCuhWOG+CaN+KsUU3GTQGLnInDzayAB8xEEMTRFZAYWdFFiSog== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=IBVRWK0C; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=sbo7Je6e; arc=none smtp.remote-ip=193.142.43.55 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C72E606A320; Mon, 30 Nov 2026 21:07:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5C72E606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=IBVRWK0C; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=sbo7Je6e Date: Mon, 30 Nov 2026 21:06:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1796072824; h=from:from:sender:sender:reply-to:reply-to:subject:subject: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=mbxHotFqld55xmdyEvM9QHnk5MPke6FC5QD+NbVF3UQ=; b=IBVRWK0CTsWdSmKebu4zqkU8UBUVrCwwN+xAXelEiEeQnLOHmsDW59usUYlW28QxjVx4eg 4Ub8ytBrdxWmlejYu7oNUmS3GoxWXT2Vvv2AI1PclRsKOYUXf5uoFJBwZe4z0uiZbqwbz5 Yz5f9raRs0ggLc6nURnl+CT0okt194EAnuvngx6mhKVqbbpaycguc8dU9tCETWmm2QwRhh o0eM8Hne7MGucuXmY42ucNCgij4+LK8PKiqsMn1XuISVUTGqBBr7iFt3QsYknndhJcQBAG Kc8kAtL4ovzlkVvHpxFzF68NWL/yPC/ZkvQI2kr6A9jCCJ1SzZ2UlhY2Os0yog== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1796072824; h=from:from:sender:sender:reply-to:reply-to:subject:subject: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=mbxHotFqld55xmdyEvM9QHnk5MPke6FC5QD+NbVF3UQ=; b=sbo7Je6eRHYoEaVxbsKG4GEHXkGHshMZ12/xw48Jj1w1UGFKsgG8zl7eyWgS1lV/uEkTjj r1v1V3/S8uWfBcBQ== From: "tip-bot2 for Sasha Levin" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/futex] selftests/futex: Print tv_sec as long long Cc: Sasha Levin , Thomas Gleixner , andrealmeid@igalia.com, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20261103155445.534229-1-sashal@kernel.org> References: <20261103155445.534229-1-sashal@kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Message-ID: <179607281968.1190409.960733175330458673.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the locking/futex branch of tip: Commit-ID: e2f325bc7f1e22fdd84a281fb600ee33e61724fd Gitweb: https://git.kernel.org/tip/e2f325bc7f1e22fdd84a281fb600ee33e61= 724fd Author: Sasha Levin AuthorDate: Tue, 03 Nov 2026 10:54:45 -05:00 Committer: Thomas Gleixner CommitterDate: Mon, 30 Nov 2026 22:03:34 +01:00 selftests/futex: Print tv_sec as long long On 32-bit architectures with a 64-bit time_t, such as armhf in Debian 13, tv_sec is a long long, and printing it with %ld warns: futex_requeue_pi.c:351:30: warning: format specifies type 'long' but the ar= gument has type '__time64_t' (aka 'long long') [-Wformat] Cast it to long long and print it with %lld. Signed-off-by: Sasha Levin Signed-off-by: Thomas Gleixner Reviewed-by: Andr=C3=A9 Almeida Link: https://patch.msgid.link/20261103155445.534229-1-sashal@kernel.org --- tools/testing/selftests/futex/functional/futex_requeue_pi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/futex/functional/futex_requeue_pi.c b/to= ols/testing/selftests/futex/functional/futex_requeue_pi.c index 65326cb..2530e69 100644 --- a/tools/testing/selftests/futex/functional/futex_requeue_pi.c +++ b/tools/testing/selftests/futex/functional/futex_requeue_pi.c @@ -348,7 +348,7 @@ TEST_F(args, futex_requeue_pi) secs =3D (ts.tv_nsec + timeout_ns) / 1000000000; ts.tv_nsec =3D ((int64_t)ts.tv_nsec + timeout_ns) % 1000000000; ts.tv_sec +=3D secs; - TH_LOG("ts.tv_sec =3D %ld", ts.tv_sec); + TH_LOG("ts.tv_sec =3D %lld", (long long)ts.tv_sec); TH_LOG("ts.tv_nsec =3D %ld", ts.tv_nsec); tsp =3D &ts; }