From nobody Tue Apr 7 16:31:42 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 48B8E3C5DDB; Thu, 12 Mar 2026 11:25:37 +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=1773314738; cv=none; b=TmIki/4Z3FcdbBszcu+oiOh+nPlZxLRtCRStQbJ5a0O/pdURrNW8J0T8tLyS97atdXiYYrXqVKcDe8l/P9M9yD7QNbVV3K9eB/wStGXLiRIldPNKqRGg7tHuUNsoawGTMy+1DQkU5eutFWnvCqnWa9StxMb99ML283c3WAKoPpg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773314738; c=relaxed/simple; bh=Hw87h6sb2ZmDHQxLcIHtaQDPs8UjTgLnAdDVarlzH0w=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=bWJyZUPZn5A7b5Z/Y9Wut/L/vfZWuk6giXOwzuaabCIvVQREPE2H73Qkie3EhvK3spDFPgF9JroccM/cS4dd/+YUn2xreMJPN0lcVAI3MapA3B1efT9L0Vm70YhpqRNgxqG9kiNsN8KaUexvYxpkwTq5qvnZ4pZasIzNXh6AMCU= 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=OeYSsW0j; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=yzfOV9BQ; 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="OeYSsW0j"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="yzfOV9BQ" Date: Thu, 12 Mar 2026 11:25:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773314735; 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=YumrwoTsFAfw+NoSO+DfZh9Ie8Eh2rtnDzRAO4KayK0=; b=OeYSsW0jSktl5XHTab1yjO5PhOmARI1C6Glb5+RSXTRoUx+6E3Rn6itVw+IUQ4JXnHPW6B mGaSZ+IjqyQoEApEq5PH4HBci7FRvvN2aSGXw8fMEHgBKOywdJFLaq8apJLbOUy6v7RKdl SbNbnCkanwpjS4mrbI5TKeuQiZZjMdwsIeJ2zZijLwmqJ3X2Qa/tYd1/sCQp2aWjOV/Aju jO7AK2YpwWbH4M5oqI+w8OSrMgO0YDFkKnC5Ji0vKkWdAbpfpILJYRSCjdese+a/1OCFKu RA3Xme2mIIWYAkHyMf5bXLahnFxzvKe8Mi/QLZRlpFrRqpG9maolaELUO0/bgQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773314735; 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=YumrwoTsFAfw+NoSO+DfZh9Ie8Eh2rtnDzRAO4KayK0=; b=yzfOV9BQhcZDUAFKR5K991uapAGYMF4In7XPj1W1RRQrHI1o+QXbbTiI9xq2IloDPdYJUo XuZk4eMwtCugmYAg== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh_=28Schneider_Electric=29?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] hrtimer: Don't zero-initialize ret in hrtimer_nanosleep() Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260311-hrtimer-cleanups-v1-7-095357392669@linutronix.de> References: <20260311-hrtimer-cleanups-v1-7-095357392669@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177331473464.1647592.6261476296165647715.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/core branch of tip: Commit-ID: 194675f16d7307a0109b54cf350ef9f81617f006 Gitweb: https://git.kernel.org/tip/194675f16d7307a0109b54cf350ef9f81= 617f006 Author: Thomas Wei=C3=9Fschuh (Schneider Electric) AuthorDate: Wed, 11 Mar 2026 11:15:16 +01:00 Committer: Thomas Gleixner CommitterDate: Thu, 12 Mar 2026 12:15:55 +01:00 hrtimer: Don't zero-initialize ret in hrtimer_nanosleep() The value will be assigned to before any usage. No other function in hrtimer.c does such a zero-initialization. Signed-off-by: Thomas Wei=C3=9Fschuh (Schneider Electric) Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260311-hrtimer-cleanups-v1-7-095357392669@= linutronix.de --- kernel/time/hrtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index cafd677..c7e7d3a 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -2329,7 +2329,7 @@ long hrtimer_nanosleep(ktime_t rqtp, const enum hrtim= er_mode mode, const clockid { struct restart_block *restart; struct hrtimer_sleeper t; - int ret =3D 0; + int ret; =20 hrtimer_setup_sleeper_on_stack(&t, clockid, mode); hrtimer_set_expires_range_ns(&t.timer, rqtp, current->timer_slack_ns);