Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1083394rdg; Fri, 11 Aug 2023 09:10:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEZtp3AbGCrWO3kC5/YSFPQNg/KvK42cb/vBSp5/KN2mH+hRcq5jL5S+TqHojBVJjcehYk/ X-Received: by 2002:aa7:d814:0:b0:523:9c4:544f with SMTP id v20-20020aa7d814000000b0052309c4544fmr2256047edq.31.1691770215433; Fri, 11 Aug 2023 09:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691770215; cv=none; d=google.com; s=arc-20160816; b=LzeYy9MmFeH+gmx2WwQ3/yk5nmn3MzXxzmOqwzSDkBNnVGU/n29djoYyVCGbITbxFa 6emHokCagnVRK6qdAHsc9DtWY6NZLmYYqTZt7PJBR51YYEYadkV2m05A+sh6AU3IPZdw sf7faztQUPv47TwNgJNanFS2QWBJlKb5wi8gwNJ5CN5h4VOSZJYxBs+jly21ES6TEOyS TUVARorytehOezQHKxo4jHIbNAEjaRXXRJk5DQYFVkfMjPEhMMOt/wtKOafkVy0qQNX2 P/6ECCIZNVubo/6TPeuKR7BM5FIMqTueVZxmnykOKicf2mNIjW5r/RE7SPO+a4p1UZ9D 54ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s34lCeycIyoNg8lQX6xK/0dCbBDEbpQkI0I7VkwD1DM=; fh=yUasqshF9TpJgvnSMHdwH09OI8sIFK8K1nGwHxZ83Gc=; b=ROBVOetR75I2+44R1Qbr4ulASbp0cLCr93QeePQX3ptnF2wIVSH3P5Yy95rMpN3Jnj iWXhYUexReb4uDsNNSb5Y9aUL+i2GwKuBgIuk7b5IfbYWRgzNnXAPrGylEj/U+eymZku dxyrsgsjTNpFyMdf9W7p5dpXVepR3PMgOJtquaGK/YbhLP+BJF9GMUp+61kwPqwbXinz bQY8aA+bBJTv6YezPyfnbWG6nbh3xef/b4lWlZEX/pPFi+wKkHUDp/VG8dHcmNLtRCt1 unWUpFLWrvSCb4gqtzJ6IvoASP1PUMlaYtWOY5+Vc4Cs42VKJgaAr18NL2E9nrS6bElc dWLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ifYAl46J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca15-20020aa7cd6f000000b005232d644311si3833134edb.327.2023.08.11.09.09.50; Fri, 11 Aug 2023 09:10:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ifYAl46J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235672AbjHKPLb (ORCPT + 99 others); Fri, 11 Aug 2023 11:11:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234748AbjHKPL2 (ORCPT ); Fri, 11 Aug 2023 11:11:28 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A822F171F; Fri, 11 Aug 2023 08:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691766688; x=1723302688; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Cjpcej3exmxfLa8oaOup6NX7xPqbLEY+b/Fz8WNpEn0=; b=ifYAl46JNZNadbffRsn+AIr7NmlL4HRgMKu1pNPf/mvhTsiWXkrTXZ40 f2JTUWfJUfUySyRn1ciFoJfcOXqWXgbjQDEY8Yci6Z9awtwyZWI+16262 qZISMKLi6FHYlUqhDvZ+3B5wPPGgMsUCPO5/zihybcnPMvWvouMnjd4um ByyA4xu5n5iFPr/aJGW4ZTn9h9tiVmQXJieHJOfIImH7t6mqAgICSphcJ JCJmCgg2BLf2PQ5/unzIFlsGCrku16rEGRUX8OolCIJUplKT4QAgoKeJM bmiIO4WRSv4Y3T/0pAR9Sgp/H6YI7R8YQRBBfTiYHJBG+OJhvZXFkxzDu A==; X-IronPort-AV: E=McAfee;i="6600,9927,10799"; a="370595516" X-IronPort-AV: E=Sophos;i="6.01,166,1684825200"; d="scan'208";a="370595516" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2023 08:11:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10799"; a="682574137" X-IronPort-AV: E=Sophos;i="6.01,166,1684825200"; d="scan'208";a="682574137" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by orsmga003.jf.intel.com with ESMTP; 11 Aug 2023 08:11:25 -0700 Date: Fri, 11 Aug 2023 23:09:13 +0800 From: Xu Yilun To: Ivan Orlov Cc: mdf@kernel.org, hao.wu@intel.com, trix@redhat.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org Subject: Re: [PATCH v2 1/3] fpga: bridge: make fpga_bridge_class a static const structure Message-ID: References: <20230811073043.52808-1-ivan.orlov0322@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230811073043.52808-1-ivan.orlov0322@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-08-11 at 11:30:41 +0400, Ivan Orlov wrote: > Now that the driver core allows for struct class to be in read-only > memory, move the fpga_bridge_class structure to be declared at build > time placing it into read-only memory, instead of having to be > dynamically allocated at boot time. > > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ivan Orlov Acked-by: Xu Yilun Applied this series.