From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 703D550A7E for ; Mon, 5 Feb 2024 19:02:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159777; cv=none; b=n+hVtPbhhej0E4rlCFFffwECkxRH3Tl8awo1vAibWkS7wfQJEJGI+R3ZXev+TlYC7YY4lCHllFs55uTCs9WyK0M4f2WALGqxhb4yhoN7g6Ynhj0ULfAApCP1vKZljr1Nz8IXM7sLjR5jH2gD2KzPaT6S/q9TUnJKb+qHpYjvj8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159777; c=relaxed/simple; bh=GVKi1NLjhuwl9NmLvmjqEi6i5Z0SknV8fkWJ8W0RoMg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZLsQsbNAhmUKb51+ELcer62aUEJXk+1e0/W9YXfiOti/WB6X+l5qA1s/8LorYcyHjyqClZh66yZ8QwnJnp7iC915UlTFGiJS7bjzIlkXmZ+LiUDY6Z6/nHKjNsYCQhRIi7p57yyir9UEvTBnSLAUlfDl5aXfUlPfFcwEaxCw0MI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Eq7diD2X; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Eq7diD2X" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94C9CC433F1; Mon, 5 Feb 2024 19:02:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159776; bh=GVKi1NLjhuwl9NmLvmjqEi6i5Z0SknV8fkWJ8W0RoMg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Eq7diD2XdWPelGn/ThmC18KYxjJh6g+gQDTsX7WsF0N7Ctq7Dk7mLe4K3sXVzwiVr oxEtxuRVjiqoqh+KpdSGulPZfdfqQF+zztZpRyLv74FjKR8XY14yxNIswdEEDyFdcY N1hRj1YNbZlgt3nvQBOeGmeYExJLmtpO3vtGpElc= Date: Mon, 5 Feb 2024 04:46:08 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: Re: [PATCH] w1: make w1_bus_type const Message-ID: <2024020502-liver-wrench-2e45@gregkh> References: <20240204-bus_cleanup-w1-v1-1-a0f4c84d7db3@marliere.net> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240204-bus_cleanup-w1-v1-1-a0f4c84d7db3@marliere.net> On Sun, Feb 04, 2024 at 05:55:22PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the w1_bus_type variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere > --- > drivers/w1/w1.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Greg Kroah-Hartman