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 3B869171136; Mon, 5 Feb 2024 19:04:07 +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=1707159847; cv=none; b=uETEYkwU7rIZiV2Ec/Nb6gwV4uv7Eddg8h425gl64kjAsOu65ggT7pJzdxNXe2Clq9LQ1Pv9Cg5GrXAhizroWg1Vj6x30Vshv5RrNf6BhdOBMU5x5A4S2i0fmdbXhKSJuXy8fFfj/wT4q+N8Zafa+cJ0ZyZLxsDA682v19sbsUo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159847; c=relaxed/simple; bh=lE5hwhPwL9fmh995uPn3W/2zYsVXs5rlxJNIrnK0Bsw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rliIW3t5Z13oyDLSmNHp/0RwfRGKA8eVfwdmFn/d6w3b2qQ42JziU4+6rHDrcBFc3v91Rr9+MkUyjWIFy8narJjm6qJJSZCzC40fg5n5CurWCT+hgcTVlDJIf5mWGZyLZZ9JjPpx4zh8Le4M7u0Yy/G24lWUgL7gQht1xnicub0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=A3IvZEL3; 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="A3IvZEL3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF0C5C3278E; Mon, 5 Feb 2024 19:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159847; bh=lE5hwhPwL9fmh995uPn3W/2zYsVXs5rlxJNIrnK0Bsw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A3IvZEL3n6TtPUW3M39IuyR4AVXH3p48OjvuxZxtDR00mTQdvoU+knLdlCnWBK/1y 5BWxb5mY23CV7G7OQ51ct7cjodSjz5YAVwO7CJ/O84c5IiyKsT59KHPHiEujqEFFOY IFRnZaF8DRvPTsnOM8I9upKec1sm8ALki9MS1Obg= Date: Mon, 5 Feb 2024 04:51:13 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Ilya Dryomov , Dongsheng Yang , Jens Axboe , ceph-devel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] block: rbd: make rbd_bus_type const Message-ID: <2024020509-splatter-unframed-4960@gregkh> References: <20240204-bus_cleanup-block-v1-1-fc77afd8d7cc@marliere.net> Precedence: bulk X-Mailing-List: linux-block@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-block-v1-1-fc77afd8d7cc@marliere.net> On Sun, Feb 04, 2024 at 12:31:42PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the rbd_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