From nobody Thu Apr 9 13:31:43 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 A7615308F23 for ; Fri, 27 Feb 2026 06:43:26 +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=1772174607; cv=none; b=Ipf8BZxYBeCMPj8NB+dMJ+gAfzeDteHmjvaWtdWStBKxA5cX2DShfwtzSc0c2+M7WwiFe+I+FFDAeV/RxQbLqULHwJZREDodWb8qu1DObPspTfqSAYigouStvaihJ4erwME3yHKoweFg0jvS9zdaJYQm+5OPlaXXWJ50BXV2rDE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772174607; c=relaxed/simple; bh=ckpj7fJl0KHRKshQbNRdJNZHK1c8nhK2cwWFfYVP558=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iFYZr0Pze2q9qOZc7YR427+zPVzAgCj9PpWZ1O2q1tpzr8xI3bOYpNz0vFzMb0easXzdi3MOV63G4UAQt9TKshL0cf9QePhl93BkHiIfcSprX5/c1SdFF4rF5ABlZ5JNWkqQgND3qhNc8bqzfmo5omPNYx8/9OO4Iz5OkL78sxs= 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=HrVaHh9D; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=z7w+IJcc; 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="HrVaHh9D"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="z7w+IJcc" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1772174605; h=from:from: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=hYgJNwonIWQHuzRkpeF33r6VareIdzfQD/7AapvwICM=; b=HrVaHh9DUWBtEzokncsW5yiKYe5YkjHV23qg/kOwMACqA8IxPDuLoUq5uCJ6AZjMtGU4Mb TWLgk6F+bT3dA6yo1upxmASFw6DwWE5voWnie3yB+lVVbRawB0K9uJeblS07LYdh3kwZ1H OclG/eGo1nCDFTZFeCbI6W4vjOcMM4DHGItnmlTfWXDG8PML5s48yFBqcdpVbRcQ+pSJJ3 JX3zQXfYRRjbLMeRt49RfZmNVK043M6n4b95shGUHEZxd99bhEYITZHdrA5Hn2g6yHMxMN eW0PpFncfjXwbctyPjdyCixqfdo6NF5T2Ei32wiq9X7dhojSXD7lA0NODspNsQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1772174605; h=from:from: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=hYgJNwonIWQHuzRkpeF33r6VareIdzfQD/7AapvwICM=; b=z7w+IJccQ2sFXcf43E95p8tYtSyR8ExwKDjqpaT1okPCuT5z621jkRJE9jhx4/XWWMGxcR WVcwnETlgoVJr0CQ== Date: Fri, 27 Feb 2026 07:43:20 +0100 Subject: [PATCH 1/4] vdso/gettimeofday: Drop a few usages of __maybe_unused Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260227-vdso-cleanups-v1-1-c848b4bc4850@linutronix.de> References: <20260227-vdso-cleanups-v1-0-c848b4bc4850@linutronix.de> In-Reply-To: <20260227-vdso-cleanups-v1-0-c848b4bc4850@linutronix.de> To: Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1772174604; l=2228; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=ckpj7fJl0KHRKshQbNRdJNZHK1c8nhK2cwWFfYVP558=; b=Iwzob+41dyeL1Ovfy9iZ+RXAT+P9t+Bem+LA83ZQp8UsrWGEx6AcPXgqCzd2hryc8jIKT+Hhw R8wQejIZrvOBzzigNUH7Yj2I3cJuY9GSb3CnvzIymv2q+dKq7+o18L7 X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= These functions are used from the very same file, so this annotation is unnecessary. Signed-off-by: Thomas Wei=C3=9Fschuh --- lib/vdso/gettimeofday.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c index 4399e143d43a..4939ee86af65 100644 --- a/lib/vdso/gettimeofday.c +++ b/lib/vdso/gettimeofday.c @@ -313,7 +313,7 @@ __cvdso_clock_gettime_common(const struct vdso_time_dat= a *vd, clockid_t clock, return do_hres(vd, vc, clock, ts); } =20 -static __maybe_unused int +static int __cvdso_clock_gettime_data(const struct vdso_time_data *vd, clockid_t cloc= k, struct __kernel_timespec *ts) { @@ -333,7 +333,7 @@ __cvdso_clock_gettime(clockid_t clock, struct __kernel_= timespec *ts) } =20 #ifdef BUILD_VDSO32 -static __maybe_unused int +static int __cvdso_clock_gettime32_data(const struct vdso_time_data *vd, clockid_t cl= ock, struct old_timespec32 *res) { @@ -359,7 +359,7 @@ __cvdso_clock_gettime32(clockid_t clock, struct old_tim= espec32 *res) } #endif /* BUILD_VDSO32 */ =20 -static __maybe_unused int +static int __cvdso_gettimeofday_data(const struct vdso_time_data *vd, struct __kernel_old_timeval *tv, struct timezone *tz) { @@ -394,7 +394,7 @@ __cvdso_gettimeofday(struct __kernel_old_timeval *tv, s= truct timezone *tz) } =20 #ifdef VDSO_HAS_TIME -static __maybe_unused __kernel_old_time_t +static __kernel_old_time_t __cvdso_time_data(const struct vdso_time_data *vd, __kernel_old_time_t *ti= me) { const struct vdso_clock *vc =3D vd->clock_data; @@ -464,7 +464,7 @@ bool __cvdso_clock_getres_common(const struct vdso_time= _data *vd, clockid_t cloc return true; } =20 -static __maybe_unused +static int __cvdso_clock_getres_data(const struct vdso_time_data *vd, clockid_t c= lock, struct __kernel_timespec *res) { @@ -484,7 +484,7 @@ int __cvdso_clock_getres(clockid_t clock, struct __kern= el_timespec *res) } =20 #ifdef BUILD_VDSO32 -static __maybe_unused int +static int __cvdso_clock_getres_time32_data(const struct vdso_time_data *vd, clockid_= t clock, struct old_timespec32 *res) { --=20 2.53.0