Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2591720rdb; Mon, 5 Feb 2024 11:07:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIPgclj4bHLrfhilXZis+L+RHXeKFYhtlR8ZHBPGK2AEhhOX7tVVi0E66dpK1gItPD4mnb X-Received: by 2002:a05:6a20:6a0c:b0:19c:5e3f:1cd8 with SMTP id p12-20020a056a206a0c00b0019c5e3f1cd8mr490766pzk.44.1707160046522; Mon, 05 Feb 2024 11:07:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707160046; cv=pass; d=google.com; s=arc-20160816; b=sT5ovpC8++I88kK9jjJiDoXt2ROKH/Wnp0FdyhfZoUmQbw5YSy/u6R0r1F9LjjAI+G +RLC8HYLlZ0sv3w4OksP2r+uLJ/3fN12skcmDVhU3XIFuzykuzma7+sMAIgg7PD4aPAg x+Wy/55fs9zUpg1/SBOnDnz09yIgyL7ZolKB7bMI4J3SdNl+ORIIFUL5KwrJG+KQf8Tc Fl5w6cd6SlSR3D/e7K+qnTOKBBzek3CBvGOfhO+ShjR10jX70MO9XLzlUnruTeLmenM9 JZ8M893V3dULUaInBhF3xlnj1dIw1zg2YGDUr1uAYMRMTJ4hixiPQ6WX0DEtQCzTw8bt 0H2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RPTVqmStTahp893yP0rBNxv5hmt8myDhaIAXPzZ3G3Q=; fh=NLpt1Ia7VmsqIriEJmZlcUwlNclxgEVZtAq8KHnYjGY=; b=pED1JxjCUsOVQBN4lqzOJH3Vz/PwgHbPDoEIu5jTCm1+GCDXzHTP841iYjxYAexb8x XIDhORydCQaVwSxuTQ7GgViNEi285w6jZpyxXEnjLqRcIphyH/JSa48ZxrkGN3mH8KLf yCfLyFMi8jA67QCAU6B70vYi1szQS/qAVn8DdZv4l97GreWVkqTlGK13jvlZxLLToWxR mLImByAeqfPIDWomgDQxNTUBDnxbHXhtEIgPIzpDdCastPhsdoSW/MaHBJ+ZSfvP8sEl /BOGEvaSLRsrsLT/dLyFz8V1AiiENiJ8LPocF8Zup9cjJiVXMptXe0YMZpHk5z12xJUy mKWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Eq7diD2X; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53287-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCVB0p+J/sggykUTpQLswYXBUQyJ5CATX8jp1nicbqFdey2QgMb5h5gbxezlPLStjRAEw019W4b8IsLXguLcsFprwNWYMGEA/RK5W0av4w== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 26-20020a630e5a000000b005d70bdd12f1si312710pgo.189.2024.02.05.11.07.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 11:07:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53287-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Eq7diD2X; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53287-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 08B422870BA for ; Mon, 5 Feb 2024 19:07:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F95151C52; Mon, 5 Feb 2024 19:02:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Eq7diD2X" 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 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