Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2616706rdb; Mon, 5 Feb 2024 11:59:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQERadv7PO2AMWpoprUpK/LKAGVmvf2T3f7V7odsdXF37KUM3k334nwFXVkdvIWxVduQLH X-Received: by 2002:a17:906:3b8b:b0:a37:6303:18b8 with SMTP id u11-20020a1709063b8b00b00a37630318b8mr5912ejf.54.1707163142665; Mon, 05 Feb 2024 11:59:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707163142; cv=pass; d=google.com; s=arc-20160816; b=j3tkgpnA8LnNKrWEaE0sUHv9HTHwMVdQ7WC1Zmp+XdjR/OlAg4xgVNB+w2WLAm2kP1 OmKVjnPrCO4y0dnbMbq/Ck+SBNyMV8t1lJs+26dJHoaHnFKK2YML97yDDbCaGIcX8HDd mkIjs9YDT3n9umXsxz/UXuzGi9YqA43lQE/N3qwMi/iwIlBpCD46XQ9WT3moAlFxGIQs UkiwoimnZW84Okd+0OBCmVjXf3J6YGPPwUpKP8i4OtLMOZ6gtHE3vpZlh6Li2CU6I/2t Tj2tIjhKbcG2o0i0EMBBVfctKsH7CiFIUR8u8pRkMyUetkTAhjsh1SpJ/0ofkfQ0qBJE EYNQ== 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=tYyh9j428FSfs3RySWTuHXKpyA7BBuR/+vzhP10+3Yg=; fh=ZNLUMN604FleAVOiXHRHJGdFC9W2OagLfvYGGBcm3OE=; b=TlQHgIlND4985qcx8Apg4puK0uqJiT3uDkHvUiDqjoCiTmuLA1S79aWl33E8GNnrFO KNWchIZqMdleDOQjeqP1tkPJqvmnwxRjU5HmkJK5siFzIt4PWPMo3BV8rFFO65gGrKIe vTYSGV/djNfHvxjkzRjHSCo9WnMyTw7K5HmaLgG3uM0hEll9fGRAION4tnWs2KN/l0n9 SV/jOCs8R8EZiNAAe3oSpEDimunrvT5H2ILeTW7mtidDC734gm534MT8i2hhGChOwI0x qVdSus11G6zivsjQ2cLrOpbhYI1luL0qZuWAMhyx4k3Vht4G5j7ksVsdTk4fMY92bnMQ d4WQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pFHsMilY; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53498-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; AJvYcCW4CXWIblul8uPUp5SJJj1U9AtSaS9dT1cqO66mEH0LNTM/E1zuK8Im/SOsOe9zmEZlrziNRhNAOD5PJEyaAtpQtIR3Z4yjG1NAt7PMlg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x7-20020a170906298700b00a35dce64af7si186325eje.211.2024.02.05.11.59.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 11:59:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pFHsMilY; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53498-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 67DD81F23AC4 for ; Mon, 5 Feb 2024 19:59:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58176155F3B; Mon, 5 Feb 2024 19:03:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="pFHsMilY" 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 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