From nobody Thu Apr 9 03:30:03 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 CBEE93CCFB3; Wed, 11 Mar 2026 09:31:10 +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=1773221473; cv=none; b=CaFAYjZNpdl4At1L74EZYOSDQHDfZGQp8vyHti5d39eZWhIQuwq0B12sqwlCenGs2ZbUSxMGfgJ1CVX5Tp+XE8JP8UBxQlCsW88dfJAHqTM3ShXe6iSEL4V78UzyD0f6CECKv/6dESx3eA660e9ZtAjcCxS1/QY4O+rAO98rnU0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773221473; c=relaxed/simple; bh=JORJvNzpQkkGz3V2WHdeplyZl/OZK4vEnZr94OGwxQQ=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=biQNQLLhJUTL9Tn+DA3H+tkoPdldl9MMcsM6nfpZN5Z62nQwON80RdQ93JLaXW+NwRkp/XH3drvyJvu8QG+9AkAHbyk410D6XzYg90qZzchl7ZXgG9SjTW9wK08izf+wLClSDlmUyuPEKrFNkBrpu01mIUq6zJFDxR0xxZ5xfZY= 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=B52n64bN; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=zgWSFKva; 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="B52n64bN"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="zgWSFKva" Date: Wed, 11 Mar 2026 09:31:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773221469; 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=YAaAmRQDgBL8rNWSYgJWzNDbzwBuKBXsT07BhfV3ztM=; b=B52n64bNlRB6EbV76vaxVrjxPBHe1dqOpR01HWeTBIb1e5fPAkj5VAXqL0E+GXJhabeqzR L/pQDSzpk+dPz6PVBRKL9G8nMI+HLX2lY5a9CVlk3Dj9WYLjzqL4tFuDg2h7qJpYmJiJK+ QosJ3yNsRPrftysf7pt9ZOYGyBgl+cMz1+tekMp8wLKxiex7nl0kbcFrMgQew9ezR3aFp8 SVslO4sa7OMuqdKq8Zx1/NLXN3d1OREPRsV+thBA0prToaFaL2SIzjk3RSywSNRNjiP1+b x6vop+rQO9DDz4LyvMzKbr6Gcm4w9G1Cij3405wfyAkFrGs2CxhF8O1sYnreaQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773221469; 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=YAaAmRQDgBL8rNWSYgJWzNDbzwBuKBXsT07BhfV3ztM=; b=zgWSFKva9wU11+Q9c96NcdUD91Uohn/5wfpNYNxNUVo1Ld8SLSBB+6ZtQ8oxgIpZ792vtr Ak/8bqUO887bT+Aw== 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 , 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: <177322146821.1647592.4947808210328699801.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: b88e65e528dc5381131fc15761864470d723943c Gitweb: https://git.kernel.org/tip/b88e65e528dc5381131fc15761864470d= 723943c Author: Thomas Wei=C3=9Fschuh AuthorDate: Fri, 27 Feb 2026 07:45:59 +01:00 Committer: Thomas Gleixner CommitterDate: Wed, 11 Mar 2026 10:27:40 +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 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");