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 32E051419AC for ; Mon, 5 Feb 2024 19:03:49 +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=1707159829; cv=none; b=BhXFawddzSqmKLBuoQLf7NHpnLKINPbPMzX0zudYvABoqtCyaPOAQo+IxkUxJpwN+QMHMZBLepuT52jR8cCDWJYFjNS+i32Qas9w7Y6Osdq8ZzK72X9o7n6vhbetQxsoIgGpTbhlIkmFCG2YnTUZHs2b17tZ13E7FVDi+jYfN98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159829; c=relaxed/simple; bh=CmfGjtjNGwPPR52pDEpS6eNjFtN2FcZ9H09650pl6P0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jRcItqgym9EkvASNLJuGLGoVH5FRqivXwtDQ1gAliHq2aR6Pz7mDj8/FD7pct794RmJU0eRj+0UB+AVgXV+gtEFyKQq8uImDBPRf4rVXi6Dn/LadQHqZZ7eDi+leLLuF6vU22SoOCPOdYOSZANKuJJXktmDBeT66nRtKbqUEL9E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=guEbsnWv; 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="guEbsnWv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9252C433B1; Mon, 5 Feb 2024 19:03:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159829; bh=CmfGjtjNGwPPR52pDEpS6eNjFtN2FcZ9H09650pl6P0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=guEbsnWv+U8wXVghkHbYeTPx2md9mRMdBcgP3d3lh2OB7eTJQAcj72pGdD1IrtP4o 2VBXkrmYAE9lBKkwbNLtr1osqkJPVsaVH2LVhJUpmDt8/4kxLu+g9FaCmKVVH1CTQ+ 41FWpbZFoiLZXfeyvbdUIXTiVGcVhsSuMdrWYV4M= Date: Mon, 5 Feb 2024 04:49:39 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Sebastian Reichel , linux-kernel@vger.kernel.org Subject: Re: [PATCH] hsi: hsi_core: make hsi_bus_type const Message-ID: <2024020532-value-coronary-03c0@gregkh> References: <20240204-bus_cleanup-hsi-v1-1-f9318131e842@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-hsi-v1-1-f9318131e842@marliere.net> On Sun, Feb 04, 2024 at 01:32:13PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the hsi_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 Reviewed-by: Greg Kroah-Hartman