Re: [PATCH] 2.5.18 : drivers/pci/pool.c minor printk fix

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Sat, 25 May 2002 10:18:52 -0300


Em Sun, May 26, 2002 at 09:06:08PM -0400, Frank Davis escreveu:
> The following patch addresses a compile warning. printk saw the "," as
> an argument, which it shouldn't.
> Regards,
> Frank
>
> --- drivers/pci/pool.c.old Thu May 9 19:01:28 2002
> +++ drivers/pci/pool.c Sun May 26 20:55:42 2002
> @@ -309,7 +309,7 @@
> return;
> }
> if (page->bitmap [map] & (1UL << block)) {
> - printk (KERN_ERR "pci_pool_free %s/%s, dma %x already free\n",
> + printk (KERN_ERR "pci_pool_free %s/%s dma %x already free\n",
> pool->dev ? pool->dev->slot_name : NULL,
> pool->name, dma);
> return;

OUCH, so you should fix printk instead ;)

Arnaldo
-
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/