On Mon, Jun 29, 2009 at 7:07 PM, Matthew Wilcox<matthew@xxxxxx> wrote: > On Mon, Jun 29, 2009 at 01:04:53PM +0530, M. Mohan Kumar wrote: >> >> If the files don't exist, should not we return without displaying any >> warning? > > Yes, we should. Can you try this patch? Hi Willy, specify -M to lspci still produce lots of errors like these: pcilib: Cannot open /sys/bus/pci/devices/0000:00:02.0/config pcilib: Cannot open /sys/bus/pci/devices/0000:00:04.0/config pcilib: Cannot open /sys/bus/pci/devices/0000:00:05.0/config pcilib: Cannot open /sys/bus/pci/devices/0000:00:06.0/config pcilib: Cannot open /sys/bus/pci/devices/0000:00:08.0/config pcilib: Cannot open /sys/bus/pci/devices/0000:00:09.0/config pcilib: Cannot open /sys/bus/pci/devices/0000:00:0a.0/config {8204 more lines snipped} Would you please also fix this? -- Thanks, Jike -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html