From patchwork Wed Oct 7 04:44:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kenji Kaneshige X-Patchwork-Id: 52138 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n974msdZ015705 for ; Wed, 7 Oct 2009 04:48:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751366AbZJGEqG (ORCPT ); Wed, 7 Oct 2009 00:46:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752226AbZJGEqG (ORCPT ); Wed, 7 Oct 2009 00:46:06 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:51437 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751366AbZJGEqE (ORCPT ); Wed, 7 Oct 2009 00:46:04 -0400 Received: from m5.gw.fujitsu.co.jp ([10.0.50.75]) by fgwmail5.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id n974jP57008114 for (envelope-from kaneshige.kenji@jp.fujitsu.com); Wed, 7 Oct 2009 13:45:26 +0900 Received: from smail (m5 [127.0.0.1]) by outgoing.m5.gw.fujitsu.co.jp (Postfix) with ESMTP id BB71345DE4E for ; Wed, 7 Oct 2009 13:45:25 +0900 (JST) Received: from s5.gw.fujitsu.co.jp (s5.gw.fujitsu.co.jp [10.0.50.95]) by m5.gw.fujitsu.co.jp (Postfix) with ESMTP id 9181545DE3E for ; Wed, 7 Oct 2009 13:45:25 +0900 (JST) Received: from s5.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s5.gw.fujitsu.co.jp (Postfix) with ESMTP id 739C61DB803F for ; Wed, 7 Oct 2009 13:45:25 +0900 (JST) Received: from m105.s.css.fujitsu.com (m105.s.css.fujitsu.com [10.249.87.105]) by s5.gw.fujitsu.co.jp (Postfix) with ESMTP id 2559DE18009 for ; Wed, 7 Oct 2009 13:45:22 +0900 (JST) Received: from m105.css.fujitsu.com (m105 [127.0.0.1]) by m105.s.css.fujitsu.com (Postfix) with ESMTP id EADBA5E8006; Wed, 7 Oct 2009 13:45:21 +0900 (JST) Received: from [127.0.0.1] (unknown [10.124.100.137]) by m105.s.css.fujitsu.com (Postfix) with ESMTP id 75A865D8005; Wed, 7 Oct 2009 13:45:21 +0900 (JST) X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Received: from KANE-LIFEBOOK[10.124.100.137] by KANE-LIFEBOOK (FujitsuOutboundMailChecker v1.3.1/9992[10.124.100.137]); Wed, 07 Oct 2009 13:44:53 +0900 (JST) Message-ID: <4ACC1CC0.3020900@jp.fujitsu.com> Date: Wed, 07 Oct 2009 13:44:48 +0900 From: Kenji Kaneshige User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Malcolm Crossley CC: jbarnes@virtuousgeek.org, linux-pci@vger.kernel.org Subject: Re: [PATCH] Prevent AER driver from being loaded on PCIE devices which are not root ports. References: <20090921101824.10742.75148.stgit@localhost.localdomain> In-Reply-To: <20090921101824.10742.75148.stgit@localhost.localdomain> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Index: 20091005/drivers/pci/pcie/aer/aerdrv.c =================================================================== --- 20091005.orig/drivers/pci/pcie/aer/aerdrv.c +++ 20091005/drivers/pci/pcie/aer/aerdrv.c @@ -52,7 +52,7 @@ static struct pci_error_handlers aer_err static struct pcie_port_service_driver aerdriver = { .name = "aer", - .port_type = PCIE_ANY_PORT, + .port_type = PCIE_RC_PORT, .service = PCIE_PORT_SERVICE_AER, .probe = aer_probe,