From: "André Almeida" <andrealmeid@igalia.com>
To: Sasha Levin <sashal@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
Thomas Gleixner <tglx@kernel.org>,
Darren Hart <dvhart@infradead.org>,
Davidlohr Bueso <dave@stgolabs.net>,
Ingo Molnar <mingo@redhat.com>, Shuah Khan <shuah@kernel.org>,
linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH] selftests/futex: print tv_sec as long long
Date: Mon, 9 Nov 2026 16:28:37 -0300 [thread overview]
Message-ID: <d767ae10-2738-43f4-bcc3-1583a5294766@igalia.com> (raw)
In-Reply-To: <20261103155445.534229-1-sashal@kernel.org>
Em 03/11/2026 12:54, Sasha Levin escreveu:
> 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 argument has type '__time64_t' (aka 'long long') [-Wformat]
>
> Cast it to long long and print it with %lld.
>
> Signed-off-by: Sasha Levin <sashal@kernel.org>
Reviewed-by: André Almeida <andrealmeid@igalia.com>
next prev parent reply other threads:[~2026-11-09 19:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 15:54 Sasha Levin
2026-11-09 19:28 ` André Almeida [this message]
2026-11-30 21:06 ` [tip: locking/futex] selftests/futex: Print " tip-bot2 for Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d767ae10-2738-43f4-bcc3-1583a5294766@igalia.com \
--to=andrealmeid@igalia.com \
--cc=dave@stgolabs.net \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=sashal@kernel.org \
--cc=shuah@kernel.org \
--cc=tglx@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®