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 973C785C4A; Mon, 5 Feb 2024 19:03:28 +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=1707159808; cv=none; b=cwzCbzb/eThB2NuT0Xw+h+Xu6vhMP4xtNyVn3/WVGj8CrPjC6KvQbYPaHg00A/P7wE4DcH/pz0RfdJzq38pnPNoZuRrA0mSPlhYQ45SZUAQ8xddMVns2dghBGiTW/YrlKqdNuvtEGNpAculscXcpWSvtx5k3yP5LZiTd/JtTePI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159808; c=relaxed/simple; bh=H8f1M8b6apfQrDwjE9TiNKtV/aNKPCj66fgR1fgv7Aw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BbbqmeEfZG+C+hHsEWJ2uhnnJEayiNH4zWe6EwxwUZSFD9BAQtpF3gJhkpdutYpivEZKenzZZxN7Z7LgQcQ/2L5w2jTrBoXtCngMbYM4mKnNIcvjtSx1RNy0ICNStt41DPjzYkVuvxAn2z7PyJLHm5PAe/yYJCOmX8NQ/bMPNas= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=g+VGvmIt; 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="g+VGvmIt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1101BC43394; Mon, 5 Feb 2024 19:03:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159808; bh=H8f1M8b6apfQrDwjE9TiNKtV/aNKPCj66fgR1fgv7Aw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g+VGvmItD5yfAwZTpbgpHgOBcWxVR7wRfY+/tc+ME9unt//2Lxhq9AMo4waqGRikJ bCq4QVa9FhvzD6AG3EfmrNGWTwBaJ7OJsmmmhU4ZJG5YPPqsAdnMRIV+lCTtQsSJLh XmI1qzEbKESuhGewo8tuIXs2a6Nt4s3QCzkQZLqc= Date: Mon, 5 Feb 2024 04:48:23 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] netdevsim: make nsim_bus const Message-ID: <2024020518-reattach-linguist-c212@gregkh> References: <20240204-bus_cleanup-net-v1-1-704b36d75901@marliere.net> Precedence: bulk X-Mailing-List: netdev@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-net-v1-1-704b36d75901@marliere.net> On Sun, Feb 04, 2024 at 05:16:34PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the nsim_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