Commit 80887a59 authored by Christophe Lucas's avatar Christophe Lucas Committed by Linus Torvalds

[PATCH] dvb: ttpci: kj printk fix

printk() calls should include appropriate KERN_* constant.
Signed-off-by: default avatarChristophe Lucas <clucas@rotomalug.org>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarJohannes Stezenbach <js@linuxtv.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 34612157
...@@ -24,7 +24,7 @@ int av7110_ipack_init(struct ipack *p, int size, ...@@ -24,7 +24,7 @@ int av7110_ipack_init(struct ipack *p, int size,
void (*func)(u8 *buf, int size, void *priv)) void (*func)(u8 *buf, int size, void *priv))
{ {
if (!(p->buf = vmalloc(size*sizeof(u8)))) { if (!(p->buf = vmalloc(size*sizeof(u8)))) {
printk ("Couldn't allocate memory for ipack\n"); printk(KERN_WARNING "Couldn't allocate memory for ipack\n");
return -ENOMEM; return -ENOMEM;
} }
p->size = size; p->size = size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment