Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2841386rdb; Mon, 5 Feb 2024 22:02:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGG8Im5Nki2UFStN5rU9gnYRvgJux6q07PPVmzOUDgXgQLwiMseAdPGOLbrMrNR1jK38ob4 X-Received: by 2002:ac8:7251:0:b0:42a:9457:191d with SMTP id l17-20020ac87251000000b0042a9457191dmr1255514qtp.30.1707199376993; Mon, 05 Feb 2024 22:02:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707199376; cv=pass; d=google.com; s=arc-20160816; b=Mv2yaO8pfCWgbpgpb9QytXuyllw9DLPjbOUyZqtlopdjIod/B6mbbK5r6605TltRRs ilSfRfjn7DtnNaCOZbhUJITL9AV19BNSCsSP8ffvew5QDNpLfzSPWhonkWDyIcBhWBOo YwuzPPPhlmMaozjfdegNBBHgq3D3/8zpojsZeUdafSgWPem28b/uG/yTH/Thm5wHFmyM qOtHCkwEQZ/KH1GgAQ1CgKO11ksaOTSZzHi6BrOz+TRT/OklBDmdPyHP/DxCMsOK7I7C DQdcy5jSZDzJ3YG2ltOdS/MGoKFM1/gRzS+hjEnKK/XjoRjqSinURqoQDtUgK2tfZGPR Ov6Q== 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=BkSGwgJ/JM1oJ2mQPJUIeiZI2MZmTp6jt00rTS9PSdI=; fh=L3uqK0ylapoaS0FTv/VS9YLqfua9D1jWblYi4hEa2Ec=; b=i273GRL/h6YH7HeQYW5sdCvmxgrOCJTtg3Vl4N86IW8b2qntUazS7y12zx0OTtcbIg ctMjZsozEagBU0G59MeAd7n+qQ5QZ+A3LWrFDoofp3WB7+Er5afM4ROskAP6DI5e8BY+ 6NLZtCzizVTsExnPEfLX7dIgeAmb6/K3G6FC6+hFxJlnD5lts9GBAKkjPrTWGI4dAeNn ePIrwZ7ZkP+7iRAstum5g1IVAemEz9v8/oRs0wTZ8Hnw4bIrAdRPIVWtLINvInuMA7e9 1kG9KL/CtlwQwJppkHc2yUk+AD+L2Fg0DizQYkotOMfvDUuuFWXKmzqM5lbhC+zPyBqL lWAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=T+1z29Ik; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54367-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54367-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCWDGDIBWU4gyA7eM5NoLDDmc6TjwMxOQ+dgqyCXCTAQbkcnuSWUMi0zb9ULjwP5506gOzVvG/6w17nBbKIJNQrWzbGpvoAj2NQvZ0HEkg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f12-20020ac85d0c000000b0042c0dab5a66si1710373qtx.381.2024.02.05.22.02.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 22:02:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54367-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=T+1z29Ik; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54367-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54367-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BDD9D1C238A0 for ; Tue, 6 Feb 2024 06:02:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C50D83CD1; Tue, 6 Feb 2024 06:02:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="T+1z29Ik" Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) (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 97D1483CC6; Tue, 6 Feb 2024 06:02:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.134.136.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707199353; cv=none; b=jj4opvWnaj+MPWwC3Mi3kit/xNdMjfLTfH+WEAmpTk27QfyyzIPSMNzZwgnIw586Yyk6UK2RhRfcshkXbLV5PF/7FRww/8UN0Qt0KjJ4if7xc8FwYBi6teEJZw8IsreCDfy2Wh/pVt79XpSkBuqkobK+uvtn7P4hYZNhg1fTX+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707199353; c=relaxed/simple; bh=hB05gtlxMlHze26xB4Tioi2Ammlau2ihD4ZXFEPKVAo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fxziqh6gS5C1a1qA7xcRzBFfaKhjDp1wQIhGTUBWLTN+oQe2QUvjhKMPJ/tFwCmv5/QFhhny1BUuqlqKn5ZOHgSMbf80vN6KCMBWZJOyxF7MVreSZwiMb/6o/Sjg3xtmqa/cxUB4mDm/WoB7jIja395W43yLYX3g8jKqZls2V8k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=T+1z29Ik; arc=none smtp.client-ip=134.134.136.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707199351; x=1738735351; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hB05gtlxMlHze26xB4Tioi2Ammlau2ihD4ZXFEPKVAo=; b=T+1z29IkIsE8/CRVJzozNU55ECfw/isE4gocjk2cdvSzDFX0WKMjxE6c VUNs1W24//avasWEXikVozpg0FPHW8C12wlf+xq3FO+y/Ghi/F+eFbZjY 2S4gSOPWdwuvRJscHXWFgeBjUs3ztMG0nqXeE8aKT6xhs9rYOcs9AHEme KubdubKZ63zCiIHl9gQHT2s2Dlz75IJkP7DD7dKEjm9/5iOw+bA7ADsx8 1bN9+3pk5nk83eDgDE+icyp4tL+qInbSiZu5uNRGCqWM05mntUVsxbpyT VBGBc5S6OiBA/Oy22TfJ7dA4TRN552QiGg+Hu0zaGDmdIMB38fOgqH2QK Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10975"; a="395096941" X-IronPort-AV: E=Sophos;i="6.05,246,1701158400"; d="scan'208";a="395096941" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2024 22:02:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,246,1701158400"; d="scan'208";a="5524021" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by fmviesa005.fm.intel.com with ESMTP; 05 Feb 2024 22:02:28 -0800 Date: Tue, 6 Feb 2024 13:58:53 +0800 From: Xu Yilun To: Greg Kroah-Hartman Cc: "Ricardo B. Marliere" , Wu Hao , Tom Rix , Moritz Fischer , Xu Yilun , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fpga: dfl: make dfl_bus_type const Message-ID: References: <20240204-bus_cleanup-fpga-v1-1-dae8b5bf7220@marliere.net> <2024020559-floss-appear-5f4d@gregkh> 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: <2024020559-floss-appear-5f4d@gregkh> On Mon, Feb 05, 2024 at 04:50:05AM -0800, Greg Kroah-Hartman wrote: > On Sun, Feb 04, 2024 at 01:14:05PM -0300, Ricardo B. Marliere wrote: > > Now that the driver core can properly handle constant struct bus_type, > > move the dfl_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 Acked-by: Xu Yilun Applied to for-next. Thanks. >