[PATCH] 2.5.18 : drivers/pci/pool.c (revised)

Frank Davis (fdavis@si.rr.com)
Mon, 27 May 2002 23:50:11 -0400 (EDT)


Hello all,
Here's a revised patch for drivers/pci/pool.c that addresses the
warning. This one fixes the cause. Please review for inclusion.

Regards,
Frank

--- drivers/pci/pool.c.old Mon May 27 23:45:08 2002
+++ drivers/pci/pool.c Mon May 27 23:45:13 2002
@@ -309,9 +309,9 @@
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 %lx already free\n",
pool->dev ? pool->dev->slot_name : NULL,
- pool->name, dma);
+ A pool->name, (unsigned long) dma);
return;
}
memset (vaddr, POOL_POISON_BYTE, pool->size);

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