2002-09-19 23:08:23

by Neale Banks

[permalink] [raw]
Subject: [PATCH 2.(2|4)] agpgart_fe printk is too terse


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;
}