aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctvmem.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-14 09:19:30 -0400
committerTakashi Iwai <tiwai@suse.de>2009-05-14 09:19:30 -0400
commitb3e0afe61e8271a8d082478752a67e5c279c8f23 (patch)
tree697242a45d03482983caf8ba2d9c00d6e7b9e33a /sound/pci/ctxfi/ctvmem.c
parent35b053becb64eba13f3ea5c8c51023997169ff34 (diff)
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)
121 121
122 /* do mapping */ 122 /* do mapping */
123 if ((unsigned long)host_addr >= VMALLOC_START) { 123 if ((unsigned long)host_addr >= VMALLOC_START) {
124 printk(KERN_ERR "Fail! Not support vmalloced addr now!\n"); 124 printk(KERN_ERR "ctxfi: "
125 "Fail! Not support vmalloced addr now!\n");
125 return NULL; 126 return NULL;
126 } 127 }
127 128
128 if (size > vm->size) { 129 if (size > vm->size) {
129 printk(KERN_ERR "Fail! No sufficient device virtural " 130 printk(KERN_ERR "ctxfi: Fail! No sufficient device virtural "
130 "memory space available!\n"); 131 "memory space available!\n");
131 return NULL; 132 return NULL;
132 } 133 }
@@ -139,7 +140,7 @@ ct_vm_map(struct ct_vm *vm, void *host_addr, int size)
139 140
140 block = get_vm_block(vm, (pages << PAGE_SHIFT)); 141 block = get_vm_block(vm, (pages << PAGE_SHIFT));
141 if (block == NULL) { 142 if (block == NULL) {
142 printk(KERN_ERR "No virtual memory block that is big " 143 printk(KERN_ERR "ctxfi: No virtual memory block that is big "
143 "enough to allocate!\n"); 144 "enough to allocate!\n");
144 return NULL; 145 return NULL;
145 } 146 }