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 299BF58127; Mon, 5 Feb 2024 19:03:04 +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=1707159785; cv=none; b=a4Oiaow5IgJS88Z89iP0jFDRL8UwzuISXHI1vwQGs+ercuHEfkEBV29VTGOAxziu6nO5VIyDVH0Z3ePbPFB4V8n7v2Y0yHLw4Fwa1HBI7agObfc/Cc0iX6wpMsqt8i7jR/fqeyRpTcY12Qi72OYnBvXAHKvYWqWkeino619VhY0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159785; c=relaxed/simple; bh=mMsgTGDgH2EjVae8ropBazsxehXluLS59BuMK2VgrxU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Yay/gAUHsOm0cwBL+R2vhem7TbuGBTRePRdTEO1/7QWuaajuODhTijJ1/LIhfynkSuDLOQOvkXZnLY4Kg8f5e79BYk8hS8a192mbu4meDZ8+F97V4e93t9NZhGW8FBXBrlNykvXMgDycyl8Bz0kqq7D5FUQXCmM9mhne/1DSC8o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=i+++u7Q0; 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="i+++u7Q0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 582C2C433A6; Mon, 5 Feb 2024 19:03:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159784; bh=mMsgTGDgH2EjVae8ropBazsxehXluLS59BuMK2VgrxU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i+++u7Q0b3k3ygSpepKnv8bvRZjuiQe3pIoLP8FCWu9qKm+KUNDxAX+2wK2FujKpS 6UZbiY3mErn140+CaNJkjJ/doAfVepPhCrZ1gGbhIcfn3Cc601PgSbUAIdOdFtIYnH OAPFQT6qLEsqVNUoqfjm0VWvAMmlLSnhc2uI12GY= Date: Mon, 5 Feb 2024 04:46:40 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: "Martin K. Petersen" , linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: tcm_loop: make tcm_loop_lld_bus const Message-ID: <2024020535-straining-marital-0334@gregkh> References: <20240204-bus_cleanup-target-v1-1-96106936c4ab@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-target-v1-1-96106936c4ab@marliere.net> On Sun, Feb 04, 2024 at 05:48:26PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the tcm_loop_lld_bus 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