From nobody Tue Apr 7 22:03:13 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80FF23B27DC; Wed, 11 Mar 2026 14:51:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773240693; cv=none; b=DM53kdNiKkL4xwwUMmovQdKcUorjRD6ckKcJHTVye5e+4S5tftn3lmnMXHRm+j+YP4YUOlArOznOXpo1UqBxTgYi0azaNP87etPZ0gllnVkBEqktMjCNlvHAUUtx9pbwR0MaulSe60NWWUQYhnKgQD57bjl/0xUZjihrWq7p3M0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773240693; c=relaxed/simple; bh=yzXT4VY5fJan1sl1eLmmoROLXuC+RKXQ/rdlTE9QO0k=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=RnThJYdqc/HXwQHiVi8m9McG9vJkiLCiU205nFkhvegZNYAqBAyo05g7iEWnc2zsdkPPVwuuG6SpExiXKyDHYKVFbfU+lJAgoSVkUlPi2PS5gFiIqx5xdY/vS04y3BdlL5B1amVU+eTdiIAhnNasCRvwU6rysjy5jh9RQt81qxg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=X1STGN86; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=26UMk/a/; arc=none smtp.client-ip=193.142.43.55 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.b="X1STGN86"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="26UMk/a/" Date: Wed, 11 Mar 2026 14:51:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773240690; 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=OBumE98ts+/bPxYqProSgiQOkk3Sw59sQ6zuQaYxdAE=; b=X1STGN86FHcqpdMLgwH5VWyDEknvN3/aZBFBiSPnIwkiPdL6j6kd275ysXOStQ4ruKXfJe 2kITxv4vOeslSuOdXadVJuu4i3AX9iHCAiDetMcOkNNoDsktTYcuGtS7xW5uWEBScxkAl9 M/y6P8JfbfvFc05Ol22+tfTlIMV9GHrjsl5SoKnZwA0e44zVVhyvPHcJgRaakRt7YoTV3D 4r7d8RXGbyB+KRjbOvTFdP+ljCLA15o5pN0k+FY4O7qWiAEcGXp+fT0jBQRvd2OnJhKLT3 OtMScvuJ9mEgX/WIzins8XTlIvx/YwFHcmluldreoaqavJMnCE7Okulg91o4Bg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773240690; 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=OBumE98ts+/bPxYqProSgiQOkk3Sw59sQ6zuQaYxdAE=; b=26UMk/a/YNucqBYpaYcvV1iGuIhk+Mj1Wnor/Xgbb7SdSUU3ULU24hzx1kUpIUxthme3iK k/+1lCRrS9k1LoBw== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/vdso] selftests: vDSO: vdso_test_correctness: Handle different tv_usec types Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , "Borislav Petkov (AMD)" , Andreas Larsson , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260227-vdso-selftest-cleanups-v2-4-d84830fa8beb@linutronix.de> References: <20260227-vdso-selftest-cleanups-v2-4-d84830fa8beb@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177324068880.1647592.2621283844263742685.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 timers/vdso branch of tip: Commit-ID: 38bc16aa47dc89dc3753ee5359c7a7c15f7bf602 Gitweb: https://git.kernel.org/tip/38bc16aa47dc89dc3753ee5359c7a7c15= f7bf602 Author: Thomas Wei=C3=9Fschuh AuthorDate: Fri, 27 Feb 2026 07:45:59 +01:00 Committer: Borislav Petkov (AMD) CommitterDate: Wed, 11 Mar 2026 15:23:11 +01:00 selftests: vDSO: vdso_test_correctness: Handle different tv_usec types On SPARC the field tv_usec of 'struct timespec' is not a 'long int', but only a regular int. In this case the format string is incorrect and will trigger compiler warnings. Avoid the warnings by casting to 'long long', similar to how it is done for the tv_sec and what the other similar selftests are doing. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Signed-off-by: Borislav Petkov (AMD) Tested-by: Andreas Larsson Reviewed-by: Andreas Larsson Link: https://patch.msgid.link/20260227-vdso-selftest-cleanups-v2-4-d84830f= a8beb@linutronix.de --- tools/testing/selftests/vDSO/vdso_test_correctness.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/vDSO/vdso_test_correctness.c b/tools/t= esting/selftests/vDSO/vdso_test_correctness.c index 2a2d9b0..9b56488 100644 --- a/tools/testing/selftests/vDSO/vdso_test_correctness.c +++ b/tools/testing/selftests/vDSO/vdso_test_correctness.c @@ -404,10 +404,10 @@ static void test_gettimeofday(void) return; } =20 - printf("\t%llu.%06ld %llu.%06ld %llu.%06ld\n", - (unsigned long long)start.tv_sec, start.tv_usec, - (unsigned long long)vdso.tv_sec, vdso.tv_usec, - (unsigned long long)end.tv_sec, end.tv_usec); + printf("\t%llu.%06lld %llu.%06lld %llu.%06lld\n", + (unsigned long long)start.tv_sec, (long long)start.tv_usec, + (unsigned long long)vdso.tv_sec, (long long)vdso.tv_usec, + (unsigned long long)end.tv_sec, (long long)end.tv_usec); =20 if (!tv_leq(&start, &vdso) || !tv_leq(&vdso, &end)) { printf("[FAIL]\tTimes are out of sequence\n");