[PATCH 2.(2|4)] agpgart_fe printk is too terse

From: Neale Banks (neale@lowendale.com.au)
Date: Thu Sep 19 2002 - 18:15:27 EST

Appended patch against 2.4.20-pre4 fixes a (IMHO) way-too-terse printk in

Motivation is that when scrounging through syslog etc finding an entry
that simply says "memory : <value>" leaves rather too much to the
imagination (not to mention being interesting to grep out of the

This applies to 2.2 also (but has already been applied to 2.5).


--- linux-2.4.20-pre4/drivers/char/agp/agpgart_fe.c Mon Aug 13 03:38:48 2001
+++ linux-2.4.20-pre4-ntb/drivers/char/agp/agpgart_fe.c Fri Sep 20 08:57:40 2002
@@ -301,7 +301,7 @@
         agp_memory *memory;
         memory = agp_allocate_memory(pg_count, type);
- printk(KERN_DEBUG "memory : %p\n", memory);
+ printk(KERN_DEBUG "agp_allocate_memory: %p\n", memory);
         if (memory == NULL) {
                 return NULL;

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 : Mon Sep 23 2002 - 22:00:28 EST