Message ID | 170731561942.398.5422557140966598380.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-56609-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2261208dyb; Wed, 7 Feb 2024 06:20:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFj4BrWwjIbme5BpYNKApWwQc5EN45wzvjNfrRPeBSchCQstubMPOzX136lvdrZWUapXLcp X-Received: by 2002:a05:622a:1d6:b0:42c:6c5:d519 with SMTP id t22-20020a05622a01d600b0042c06c5d519mr7271608qtw.31.1707315648769; Wed, 07 Feb 2024 06:20:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707315648; cv=pass; d=google.com; s=arc-20160816; b=vjvLp5Q3/DK/O9xAKvWVm3y6h9uJx/hOvxyMHHboqL5IB5EwmkadMwKJxNPp1K3L+/ gnlol+smPDVKEmB+cmQcJyo+nStNSqtpNawlL2BMYRkdR6UyovIIvI3Vei7jvqxUKfn5 REPKBypbNq/uFiQdAOJG/RGQR0wFNWJXV/+bnU2WGfp1m9FkYl87X3jOn/aoVXs3J//Z aUCFr6m+/GF6vn4rPrrIe4CF2qZxBpkZDk10sbGTiARml5kmrSzoQQkUuTG5claAvcAE HRgkGEikNxBdyhjN92fH3HNtpmGXuUhpTlGbNPVBuJA6N5G9I9SHR+InNa6Ria+QNQHN E04g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=dOskqa7x1cU++5agYr8pcl79v/5x3SzbWotILDZVXus=; fh=mf4WXE+TvlGdDWEa8l+ddXPSCNs2bGjiOQQBnkLR+k4=; b=g65wEtAfJyVWSamkPc+HVpIMYWHOfhRhgafZr0R2b8EID1f1fpHyjFVDecEnbxr7Ax eRwNp5vgZXyIeDWKVyGpzoiYtHUMyyj0OiQIxHMW+GBgCv7YZJdOQdo3dOcMvxJFCOw7 3Kx+ZWsEvRHCmrbTWGQceZZlYYsfCrVYGbq1NvSp/EtpYUrE8O9yfDefPkxfzyvteiNA t+bq04bFFUow6wv/HZ2PA7VUBGEOlJkWQK/mbsL3oZGah70wD9IA02w6s4IxOCNJXC5M 9uq4gZqZSkeecItCDkEq70pmX85PGP4GFzU5qwbfMuGL1mQB1XXYeV68l7APlMpV5F6D Pg/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=VqWrEfm1; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-56609-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56609-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=2; AJvYcCXso+v3558GHFl7f/jOhYfCMVv425gi7gCmjyStF79jrXMvuxjUwDHSlIGuVOdfhdxqGVQaXOinGfmf58/mDZn6LnVMiA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id n13-20020a05622a11cd00b0042c3980a602si1199641qtk.478.2024.02.07.06.20.48 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:20:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56609-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=VqWrEfm1; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-56609-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56609-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6DC961C23C7D for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 14:20:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED57F7E0F3; Wed, 7 Feb 2024 14:20:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="VqWrEfm1"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nEC8Sjpt" 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 DE1127A727; Wed, 7 Feb 2024 14:20:21 +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=1707315623; cv=none; b=upn5BJx51BUhOE75qrgRDAevI4yJosRNiqycBYHO04MCWdR74TNqTUlNi+tjAZS9fw6JoTVCWAqzvXnOVvop3PPgcFnGIJHIjZ8tqb07LC2wGPDrpvn+5ww5UakDCsH27uJ+QmUZhyLZWIYPHbugK5/jDUp1jrFCZxgHshZ4PHM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707315623; c=relaxed/simple; bh=VeIwhT0fe+92MYX6xTuLNA8rK5oh5GCxSe8VVVvUYns=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Z8Tx2HPGNyuWYRWYWiNAmIuCnvmPOehKM/FQHcyRYQIngL4JoMhu+vWLXG5pBQzNh2D9eM3WlwCr2AaM+x8tYWopOTruXf4xKLpvrVvWNUuqhbOyqJykhpiN3tjSRtUMbv+R78pN1Noi04uDOqp8/qwtUUho/6ulv8Cj7h+iYnU= 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=VqWrEfm1; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=nEC8Sjpt; 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 Date: Wed, 07 Feb 2024 14:20:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1707315620; 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=dOskqa7x1cU++5agYr8pcl79v/5x3SzbWotILDZVXus=; b=VqWrEfm1Hal23q9k7FqV9bqnDUFtr50xGwQD5PNqedKP9b3w7WCsrWtUBQInlS7fP2B0y9 DN01phW5i24w7wWWIdVBWQcHI56Mg43p0pcFzhiiOKn++p3krHAe+kteS3YE8mRdVDbx98 cqPOzT7j3GsGQvja7I+WACMD0nHmcPl3vRlpIBhvV9ipFu/LDnpFLd1jSfj7LeUkLO/Mh5 FBEF/pxMlLLltAZEjULd+iD0aK4WDlrooexYIUghRECn825AD3TLwMcPW5AJ+qsBItHgxf BDUNlr/rVoZdWX/0S0HhA5ZtiaTfdUscLsZ4dLX4kNq3ubUuE9LufXkuozAveQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1707315620; 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=dOskqa7x1cU++5agYr8pcl79v/5x3SzbWotILDZVXus=; b=nEC8Sjpt/aTRFSTOA1lylWshj70E4DjaR/00U0wfVf9ROqXC9+9sok+IRHZYAARMRKl2P+ pH8Famkl9oYOJ8BQ== From: "tip-bot2 for Ricardo B. Marliere" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource: Make clocksource_subsys const Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, "Ricardo B. Marliere" <ricardo@marliere.net>, Thomas Gleixner <tglx@linutronix.de>, John Stultz <jstultz@google.com>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240204-bus_cleanup-time-v1-1-207ec18e24b8@marliere.net> References: <20240204-bus_cleanup-time-v1-1-207ec18e24b8@marliere.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Message-ID: <170731561942.398.5422557140966598380.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790250213741449749 X-GMAIL-MSGID: 1790250213741449749 |
Series |
[tip:,timers/core] clocksource: Make clocksource_subsys const
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Feb. 7, 2024, 2:20 p.m. UTC
The following commit has been merged into the timers/core branch of tip: Commit-ID: 2bc7fc24f9a85cb6b7335354b2733615727689f6 Gitweb: https://git.kernel.org/tip/2bc7fc24f9a85cb6b7335354b2733615727689f6 Author: Ricardo B. Marliere <ricardo@marliere.net> AuthorDate: Sun, 04 Feb 2024 10:40:15 -03:00 Committer: Thomas Gleixner <tglx@linutronix.de> CommitterDate: Wed, 07 Feb 2024 15:11:24 +01:00 clocksource: Make clocksource_subsys const Now that the driver core can properly handle constant struct bus_type, move the clocksource_subsys variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: John Stultz <jstultz@google.com> Link: https://lore.kernel.org/r/20240204-bus_cleanup-time-v1-1-207ec18e24b8@marliere.net --- kernel/time/clocksource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 3052b1f..4ef0665 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -1468,7 +1468,7 @@ static struct attribute *clocksource_attrs[] = { }; ATTRIBUTE_GROUPS(clocksource); -static struct bus_type clocksource_subsys = { +static const struct bus_type clocksource_subsys = { .name = "clocksource", .dev_name = "clocksource", };