From: Christophe Lucas <[email protected]>
printk() calls should include appropriate KERN_* constant.
Signed-off-by: Christophe Lucas <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
---
DAC960.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: quilt/drivers/block/DAC960.c
===================================================================
--- quilt.orig/drivers/block/DAC960.c
+++ quilt/drivers/block/DAC960.c
@@ -2536,7 +2536,7 @@ static boolean DAC960_RegisterBlockDevic
/* for now, let all request queues share controller's lock */
RequestQueue = blk_init_queue(DAC960_RequestFunction,&Controller->queue_lock);
if (!RequestQueue) {
- printk("DAC960: failure to allocate request queue\n");
+ printk(KERN_WARNING "DAC960: failure to allocate request queue\n");
continue;
}
Controller->RequestQueue[n] = RequestQueue;
@@ -3610,7 +3610,7 @@ static void DAC960_V1_ProcessCompletedCo
#ifdef FORCE_RETRY_FAILURE_DEBUG
if (!(++retry_count % 10000)) {
- printk("V1 error retry failure test\n");
+ printk(KERN_DEBUG "V1 error retry failure test\n");
normal_completion = false;
DAC960_V1_ReadWriteError(Command);
}
@@ -4698,7 +4698,7 @@ static void DAC960_V2_ProcessCompletedCo
#ifdef FORCE_RETRY_FAILURE_DEBUG
if (!(++retry_count % 10000)) {
- printk("V2 error retry failure test\n");
+ printk(KERN_DEBUG "V2 error retry failure test\n");
normal_completion = false;
DAC960_V2_ReadWriteError(Command);
}
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]