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 93C0E13C1C2; Mon, 5 Feb 2024 19:03:46 +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=1707159826; cv=none; b=csRwB/gyHiBTRCa2YLshr4fVOBSEkBmDY1rmWZ98e47T05mPsWGKWrC5rdZ0/Smsb7WkwsK2/91GHmHqoFrSGIDXhdJwTNcEIXw+hrcZuVfpu43TC6Jn2GO+bLb8jaXS/gN7IPxE24VjPZC1jPUQSUS9bm8Yv9ueocsbep/QP1w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159826; c=relaxed/simple; bh=cBdQybg3QvOmh0T+8TRo03v1EOMi2jdUNh9UnbpZkXA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Af/kgXftclJjktwUIkYSY7bHQkKjn84mDc0bR2NYlGU5w2S/BqOfgRwVEHjjpJsyIFp1dxq82aNGTO5N13BMX/udkIS6ER1s3a1tmZdRJMfVa90vFT1FvFQIQ2bBV6zcr9DIwE4pggCgEev5YEaZU9kQqrbkWo2WSPung13aXlw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pFHsMilY; 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="pFHsMilY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2505EC43394; Mon, 5 Feb 2024 19:03:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159826; bh=cBdQybg3QvOmh0T+8TRo03v1EOMi2jdUNh9UnbpZkXA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pFHsMilY/kx4AbdiN3h0RF6AC4GZML4oRcUUeXyzkmfZ8+OPBJis2igauMBoKU7xj IwsUT+ee3BGLFntJCeZGR2/kAcUkk90fyOS8oNAPD8igaTL8xZTePoPX1y9pT+bDcy XmsMP9Chc+tkEF01sdjdP/rN/sJEu8XHev6CC8R0= Date: Mon, 5 Feb 2024 04:49:30 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hv: vmbus: make hv_bus const Message-ID: <2024020526-playlist-december-b3f4@gregkh> References: <20240204-bus_cleanup-hv-v1-1-521bd4140673@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-hv-v1-1-521bd4140673@marliere.net> On Sun, Feb 04, 2024 at 01:38:02PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the hv_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