Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752158AbXAaE6E (ORCPT ); Tue, 30 Jan 2007 23:58:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752165AbXAaE6E (ORCPT ); Tue, 30 Jan 2007 23:58:04 -0500 Received: from nommos.sslcatacombnetworking.com ([67.18.224.114]:29476 "EHLO nommos.sslcatacombnetworking.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752158AbXAaE6B (ORCPT ); Tue, 30 Jan 2007 23:58:01 -0500 Date: Tue, 30 Jan 2007 22:55:38 -0600 (CST) From: Kumar Gala X-X-Sender: galak@localhost.localdomain To: Greg KH cc: linux-kernel@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz Subject: Reducing warning output from pci_get_subsys() Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PopBeforeSMTPSenders: kumar-chaos@kgala.com,kumar-statements@kgala.com,kumar@kgala.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - nommos.sslcatacombnetworking.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - kernel.crashing.org X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 627 Lines: 18 Greg, There was some code added to warn if pci_get_subsys() is called and the pci_devices is empty. I'm wondering if there is some point at which we know its ok for the pci_devices list be empty if there are no devices on the bus so we can stop printing the message. On an embedded PPC reference system I see this message 6 times when I've got no cards in the PCI slots. - k - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/