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

Neale Banks (neale@lowendale.com.au)
Fri, 20 Sep 2002 09:15:27 +1000 (EST)


Appended patch against 2.4.20-pre4 fixes a (IMHO) way-too-terse printk in
drivers/char/agp/agpgart_fe.c

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
source).

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

Thanks,
Neale.

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