Re: Reducing warning output from pci_get_subsys()




On Jan 30, 2007, at 11:11 PM, Andrew Morton wrote:

On Tue, 30 Jan 2007 22:55:38 -0600 (CST)
Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx> wrote:

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.


I'd suggest we just remove the warning. Also the one in pci_find_subsys().

I let them go through because I was curious to know what would cause it to
trigger - it might be an indication of other bugs. But nothing very
interesting happened and they're of no use.

Works for me.

- k
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Reducing warning output from pci_get_subsys()
    ... On Jan 30, 2007, at 11:11 PM, Andrew Morton wrote: ... Kumar Gala wrote: ... pci_devices is empty. ... I'd suggest we just remove the warning. ...
    (Linux-Kernel)
  • Re: Reducing warning output from pci_get_subsys()
    ... Kumar Gala wrote: ... pci_devices is empty. ... I'd suggest we just remove the warning. ... trigger - it might be an indication of other bugs. ...
    (Linux-Kernel)
  • Re: perl warnings
    ... The first time it runs, parameter 'action' isn't defined so that is ... print "\$action is empty"; ... Use of uninitialized value in string eq at -e line 7. ... )' but that still produces a warning. ...
    (perl.beginners)
  • Use of uninitialized value in print
    ... print "Now will format .xls file\n"; ... #Holding Variables for mailing list ... After this I get warning talking about use of uninitialized value and ... but print statement is empty ...
    (comp.lang.perl.misc)
  • Re: Want to solve: Warning: Creating a pane with no CDocument
    ... Don't start with "empty project"! ... create a new MFC SDI project with the "Windows Explorer" ... style (in this case you will get splitter views from Microsoft, ... Warning: ...
    (microsoft.public.vc.mfc)