[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1274917192-16962-7-git-send-email-mike@mikeasoft.com>
Date: Thu, 27 May 2010 00:39:44 +0100
From: Mike Sheldon <mike@...easoft.com>
To: greg@...ah.com, pavel@....cz
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Mike Sheldon <mike@...easoft.com>
Subject: [PATCH 07/15] Staging: winbond: Replace printk usage with pr_err
Patches wb35reg.c to replace printk usage (missing KERN_ levels) with pr_err.
Signed-off-by: Mike Sheldon <mike@...easoft.com>
---
drivers/staging/winbond/wb35reg.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/winbond/wb35reg.c b/drivers/staging/winbond/wb35reg.c
index 7707223..f245abe 100644
--- a/drivers/staging/winbond/wb35reg.c
+++ b/drivers/staging/winbond/wb35reg.c
@@ -151,7 +151,7 @@ unsigned char Wb35Reg_WriteSync(struct hw_data *pHwData, u16 RegisterNo, u32 Reg
if (ret < 0) {
#ifdef _PE_REG_DUMP_
- printk("EP0 Write register usb message sending error\n");
+ pr_err("EP0 Write register usb message sending error\n");
#endif
pHwData->SurpriseRemove = 1;
return false;
@@ -321,7 +321,7 @@ unsigned char Wb35Reg_ReadSync(struct hw_data *pHwData, u16 RegisterNo, u32 *pRe
if (ret < 0) {
#ifdef _PE_REG_DUMP_
- printk("EP0 Read register usb message sending error\n");
+ pr_err("EP0 Read register usb message sending error\n");
#endif
pHwData->SurpriseRemove = 1;
return false;
@@ -443,7 +443,7 @@ void Wb35Reg_EP0VM(struct hw_data *pHwData)
if (ret < 0) {
#ifdef _PE_REG_DUMP_
- printk("EP0 Irp sending error\n");
+ pr_err("EP0 Irp sending error\n");
#endif
goto cleanup;
}
@@ -480,7 +480,7 @@ void Wb35Reg_EP0VM_complete(struct urb *urb)
if (reg->EP0VM_status) {
#ifdef _PE_REG_DUMP_
- printk("EP0 IoCompleteRoutine return error\n");
+ pr_err("EP0 IoCompleteRoutine return error\n");
#endif
reg->EP0vm_state = VM_STOP;
pHwData->SurpriseRemove = 1;
@@ -527,7 +527,7 @@ void Wb35Reg_destroy(struct hw_data *pHwData)
kfree(reg_queue);
} else {
#ifdef _PE_REG_DUMP_
- printk("EP0 queue release error\n");
+ pr_err("EP0 queue release error\n");
#endif
}
spin_lock_irq(®->EP0VM_spin_lock);
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists