}
pdev = pci_get_domain_bus_and_slot(domain, bus, devfn);
if (!pdev) {
- pr_err("invalid PCI address %04x:%02x:%02x.%x\n",
- domain, bus, PCI_SLOT(devfn),
- PCI_FUNC(devfn));
+ pr_debug("invalid PCI address %04x:%02x:%02x.%x\n",
+ domain, bus, PCI_SLOT(devfn),
+ PCI_FUNC(devfn));
ret_val = -ENODEV;
goto done;
}
pr_debug("vgadev %p\n", vgadev);
if (vgadev == NULL) {
if (pdev) {
- vgaarb_err(&pdev->dev, "not a VGA device\n");
+ vgaarb_dbg(&pdev->dev, "not a VGA device\n");
pci_dev_put(pdev);
}
}
}
if (i == MAX_USER_CARDS) {
- vgaarb_err(&pdev->dev, "maximum user cards (%d) number reached, ignoring this one!\n",
+ vgaarb_dbg(&pdev->dev, "maximum user cards (%d) number reached, ignoring this one!\n",
MAX_USER_CARDS);
pci_dev_put(pdev);
/* XXX: which value to return? */