--- linux/drivers/hotplug/pci_hotplug_core.c-ori Mon Jun 17 22:01:17 2002
+++ linux/drivers/hotplug/pci_hotplug_core.c Mon Jun 17 22:03:33 2002
@@ -183,13 +183,13 @@
/* default file operations */
static ssize_t default_read_file (struct file *file, char *buf, size_t count, loff_t *ppos)
{
- dbg ("\n");
+ dbg ("%s", "\n");
return 0;
}
static ssize_t default_write_file (struct file *file, const char *buf, size_t count, loff_t *ppos)
{
- dbg ("\n");
+ dbg ("%s", "\n");
return count;
}
@@ -417,7 +417,7 @@
}
if (!parent) {
- dbg("Ah! can not find a parent!\n");
+ dbg("%s", "Ah! can not find a parent!\n");
return -EINVAL;
}
@@ -537,7 +537,7 @@
return 0;
if (slot == NULL) {
- dbg("slot == NULL???\n");
+ dbg("%s", "slot == NULL???\n");
return -ENODEV;
}
@@ -578,7 +578,7 @@
return 0;
if (slot == NULL) {
- dbg("slot == NULL???\n");
+ dbg("%s", "slot == NULL???\n");
return -ENODEV;
}
@@ -648,7 +648,7 @@
return 0;
if (slot == NULL) {
- dbg("slot == NULL???\n");
+ dbg("%s", "slot == NULL???\n");
return -ENODEV;
}
@@ -689,7 +689,7 @@
return 0;
if (slot == NULL) {
- dbg("slot == NULL???\n");
+ dbg("%s", "slot == NULL???\n");
return -ENODEV;
}
@@ -741,7 +741,7 @@
return 0;
if (slot == NULL) {
- dbg("slot == NULL???\n");
+ dbg("%s", "slot == NULL???\n");
return -ENODEV;
}
@@ -785,7 +785,7 @@
return 0;
if (slot == NULL) {
- dbg("slot == NULL???\n");
+ dbg("%s", "slot == NULL???\n");
return -ENODEV;
}
@@ -826,7 +826,7 @@
return 0;
if (slot == NULL) {
- dbg("slot == NULL???\n");
+ dbg("%s", "slot == NULL???\n");
return -ENODEV;
}
@@ -1070,7 +1070,7 @@
spin_lock_init(&mount_lock);
spin_lock_init(&list_lock);
- dbg("registering filesystem.\n");
+ dbg("%s", "registering filesystem.\n");
result = register_filesystem(&pcihpfs_type);
if (result) {
err("register_filesystem failed with %d\n", result);
--- linux/drivers/hotplug/pci_hotplug_util.c-ori Mon Jun 17 22:04:58 2002
+++ linux/drivers/hotplug/pci_hotplug_util.c Mon Jun 17 22:05:02 2002
@@ -103,7 +103,7 @@
dbg("%p, %d, %d, %d, %d, %p\n", ops, bus, slot, function, where, value);
dev = pci_find_slot(bus, PCI_DEVFN(slot, function));
if (dev) {
- dbg("using native pci_dev\n");
+ dbg("%s", "using native pci_dev\n");
return pci_read_config_byte (dev, where, value);
}
@@ -137,7 +137,7 @@
dbg("%p, %d, %d, %d, %d, %p\n", ops, bus, slot, function, where, value);
dev = pci_find_slot(bus, PCI_DEVFN(slot, function));
if (dev) {
- dbg("using native pci_dev\n");
+ dbg("%s", "using native pci_dev\n");
return pci_read_config_word (dev, where, value);
}
@@ -172,7 +172,7 @@
dbg("%p, %d, %d, %d, %d, %p\n", ops, bus, slot, function, where, value);
dev = pci_find_slot(bus, PCI_DEVFN(slot, function));
if (dev) {
- dbg("using native pci_dev\n");
+ dbg("%s", "using native pci_dev\n");
return pci_read_config_dword (dev, where, value);
}
@@ -207,7 +207,7 @@
dbg("%p, %d, %d, %d, %d, %d\n", ops, bus, slot, function, where, value);
dev = pci_find_slot(bus, PCI_DEVFN(slot, function));
if (dev) {
- dbg("using native pci_dev\n");
+ dbg("%s", "using native pci_dev\n");
return pci_write_config_byte (dev, where, value);
}
@@ -242,7 +242,7 @@
dbg("%p, %d, %d, %d, %d, %d\n", ops, bus, slot, function, where, value);
dev = pci_find_slot(bus, PCI_DEVFN(slot, function));
if (dev) {
- dbg("using native pci_dev\n");
+ dbg("%s", "using native pci_dev\n");
return pci_write_config_word (dev, where, value);
}
@@ -277,7 +277,7 @@
dbg("%p, %d, %d, %d, %d, %d\n", ops, bus, slot, function, where, value);
dev = pci_find_slot(bus, PCI_DEVFN(slot, function));
if (dev) {
- dbg("using native pci_dev\n");
+ dbg("%s", "using native pci_dev\n");
return pci_write_config_dword (dev, where, value);
}
-- Matthew Harrell There are only 10 types of people in Bit Twiddlers, Inc. this world: those who understand mharrell@bittwiddlers.com binary and those who don't. - 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/
This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:15 EST