Messages in this thread | | | Date | Wed, 19 Jun 2002 01:04:07 +0200 (CEST) | From | Adrian Bunk <> | Subject | Re: 2.5.22 fix for pci_hotplug |
| |
On Tue, 18 Jun 2002, Greg KH wrote:
> 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? >...
He tries to fix the following compile error that is caused by Martin Dalecki's "[PATCH] 2.5.21 kill warnings 4/19" that is included in 2.5.22:
<-- snip -->
... gcc -Wp,-MD,./.pci_hotplug_core.o.d -D__KERNEL__ -I/home/bunk/linux/kernel-2.5 /linux-2.5.22-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -iwithprefix include -DKBUILD_BASENAME=pci_hotplug_core -c -o pci_hotplug_core.o pci_hotplug_core.c pci_hotplug_core.c: In function `default_read_file': pci_hotplug_core.c:186: parse error before `)' pci_hotplug_core.c: In function `default_write_file': pci_hotplug_core.c:192: parse error before `)' pci_hotplug_core.c: In function `pcihpfs_create_by_name': pci_hotplug_core.c:420: parse error before `)' pci_hotplug_core.c: In function `power_read_file': pci_hotplug_core.c:540: parse error before `)' pci_hotplug_core.c: In function `power_write_file': pci_hotplug_core.c:581: parse error before `)' pci_hotplug_core.c: In function `attention_read_file': pci_hotplug_core.c:651: parse error before `)' pci_hotplug_core.c: In function `attention_write_file': pci_hotplug_core.c:692: parse error before `)' pci_hotplug_core.c: In function `latch_read_file': pci_hotplug_core.c:744: parse error before `)' pci_hotplug_core.c: In function `presence_read_file': pci_hotplug_core.c:788: parse error before `)' pci_hotplug_core.c: In function `test_write_file': pci_hotplug_core.c:829: parse error before `)' pci_hotplug_core.c: In function `pci_hotplug_init': pci_hotplug_core.c:1073: parse error before `)' make[2]: *** [pci_hotplug_core.o] Error 1 make[2]: Leaving directory `/home/bunk/linux/kernel-2.5/linux-2.5.22-full/drivers/hotplug'
<-- snip -->
> thanks, > > greg k-h
cu Adrian
--
You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
- 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/
| |