PCI: Replace dev_printk(KERN_DEBUG) with dev_info(), etc
Replace dev_printk(KERN_DEBUG) with dev_info(), etc to be more consistent with other logging and avoid checkpatch warnings. The KERN_DEBUG messages could be converted to dev_dbg(), but that depends on CONFIG_DYNAMIC_DEBUG and DEBUG, and we want most of these messages to *always* be in the dmesg log. Link: https://lore.kernel.org/lkml/1555733240-19875-1-git-send-email-mohankumar718@gmail.com Signed-off-by: Mohan Kumar <mohankumar718@gmail.com> [bhelgaas: commit log] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:

committed by
Bjorn Helgaas

parent
25da8dbaaf
commit
34c6b7105e
@@ -291,8 +291,7 @@ static int pci_frontend_enable_msix(struct pci_dev *dev,
|
||||
vector[i] = op.msix_entries[i].vector;
|
||||
}
|
||||
} else {
|
||||
printk(KERN_DEBUG "enable msix get value %x\n",
|
||||
op.value);
|
||||
pr_info("enable msix get value %x\n", op.value);
|
||||
err = op.value;
|
||||
}
|
||||
} else {
|
||||
@@ -364,12 +363,12 @@ static void pci_frontend_disable_msi(struct pci_dev *dev)
|
||||
err = do_pci_op(pdev, &op);
|
||||
if (err == XEN_PCI_ERR_dev_not_found) {
|
||||
/* XXX No response from backend, what shall we do? */
|
||||
printk(KERN_DEBUG "get no response from backend for disable MSI\n");
|
||||
pr_info("get no response from backend for disable MSI\n");
|
||||
return;
|
||||
}
|
||||
if (err)
|
||||
/* how can pciback notify us fail? */
|
||||
printk(KERN_DEBUG "get fake response frombackend\n");
|
||||
pr_info("get fake response from backend\n");
|
||||
}
|
||||
|
||||
static struct xen_pci_frontend_ops pci_frontend_ops = {
|
||||
|
Reference in New Issue
Block a user