summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctvmem.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-14 15:19:30 +0200
committerTakashi Iwai <tiwai@suse.de>2009-05-14 15:19:30 +0200
commitb3e0afe61e8271a8d082478752a67e5c279c8f23 (patch)
tree697242a45d03482983caf8ba2d9c00d6e7b9e33a /sound/pci/ctxfi/ctvmem.c
parent35b053becb64eba13f3ea5c8c51023997169ff34 (diff)
downloadblackbird-op-linux-b3e0afe61e8271a8d082478752a67e5c279c8f23.tar.gz
blackbird-op-linux-b3e0afe61e8271a8d082478752a67e5c279c8f23.zip
ALSA: ctxfi - Add prefix to debug prints
Added ctxfi: prefix to each debug print. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctvmem.c')
-rw-r--r--sound/pci/ctxfi/ctvmem.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/pci/ctxfi/ctvmem.c b/sound/pci/ctxfi/ctvmem.c
index 46ca04ce9210..cecf77e3ee86 100644
--- a/sound/pci/ctxfi/ctvmem.c
+++ b/sound/pci/ctxfi/ctvmem.c
@@ -121,12 +121,13 @@ ct_vm_map(struct ct_vm *vm, void *host_addr, int size)
/* do mapping */
if ((unsigned long)host_addr >= VMALLOC_START) {
- printk(KERN_ERR "Fail! Not support vmalloced addr now!\n");
+ printk(KERN_ERR "ctxfi: "
+ "Fail! Not support vmalloced addr now!\n");
return NULL;
}
if (size > vm->size) {
- printk(KERN_ERR "Fail! No sufficient device virtural "
+ printk(KERN_ERR "ctxfi: Fail! No sufficient device virtural "
"memory space available!\n");
return NULL;
}
@@ -139,7 +140,7 @@ ct_vm_map(struct ct_vm *vm, void *host_addr, int size)
block = get_vm_block(vm, (pages << PAGE_SHIFT));
if (block == NULL) {
- printk(KERN_ERR "No virtual memory block that is big "
+ printk(KERN_ERR "ctxfi: No virtual memory block that is big "
"enough to allocate!\n");
return NULL;
}
OpenPOWER on IntegriCloud