Re: 2.5.22 fix for pci_hotplug

From: Greg KH (greg@kroah.com)
Date: Tue Jun 18 2002 - 16:55:50 EST


On Mon, Jun 17, 2002 at 10:09:37PM -0400, Matthew Harrell wrote:
>
> --- 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");

<snip>

What problem does this fix?

If you _really_ want to fix something, remove the the need for
pci_announce_to_drivers() in the Compaq and IBM PCI hotplug drivers :)

thanks,

greg k-h
-
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:17 EST