2011-03-26 19:22:09

by Ralf Thielow

[permalink] [raw]
Subject: [PATCH 2/4] staging: keucr: smscsi: Includes missing KERN_ facility level to printk().

Includes missing KERN_ facility level to printk().

Signed-off-by: Ralf Thielow <[email protected]>
---
drivers/staging/keucr/smscsi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/keucr/smscsi.c b/drivers/staging/keucr/smscsi.c
index c3db085..5448812 100644
--- a/drivers/staging/keucr/smscsi.c
+++ b/drivers/staging/keucr/smscsi.c
@@ -97,7 +97,7 @@ int SM_SCSI_Read_Capacity(struct us_data *us, struct scsi_cmnd *srb)
WORD bl_len;
BYTE buf[8];

- printk("SM_SCSI_Read_Capacity\n");
+ printk(KERN_DEBUG "SM_SCSI_Read_Capacity\n");

bl_len = 0x200;
bl_num = Ssfdc.MaxLogBlocks * Ssfdc.MaxSectors * Ssfdc.MaxZones - 1;
@@ -110,8 +110,8 @@ int SM_SCSI_Read_Capacity(struct us_data *us, struct scsi_cmnd *srb)
*/

us->bl_num = bl_num;
- printk("bl_len = %x\n", bl_len);
- printk("bl_num = %x\n", bl_num);
+ printk(KERN_DEBUG "bl_len = %x\n", bl_len);
+ printk(KERN_DEBUG "bl_num = %x\n", bl_num);

buf[0] = (bl_num >> 24) & 0xff;
buf[1] = (bl_num >> 16) & 0xff;
--
1.7.4.1


2011-04-20 20:53:07

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH 2/4] staging: keucr: smscsi: Includes missing KERN_ facility level to printk().

On Sat, Mar 26, 2011 at 08:21:59PM +0100, Ralf Thielow wrote:
> Includes missing KERN_ facility level to printk().
>
> Signed-off-by: Ralf Thielow <[email protected]>
> ---
> drivers/staging/keucr/smscsi.c | 6 +++---

Does not apply cleanly :(