Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] st: log message changes

Printk -> sdev_printk change originally from Luben Tuikov
<ltuikov@yahoo.com>. Loglevel changes prompted by Matthew Wilcox
<matthew@wil.cx>.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

authored by

Kai Makisara and committed by
James Bottomley
42252854 fd44bab5

+8 -8
+8 -8
drivers/scsi/st.c
··· 9 9 Steve Hirsch, Andreas Koppenh"ofer, Michael Leodolter, Eyal Lebedinsky, 10 10 Michael Schaefer, J"org Weule, and Eric Youngdale. 11 11 12 - Copyright 1992 - 2005 Kai Makisara 12 + Copyright 1992 - 2006 Kai Makisara 13 13 email Kai.Makisara@kolumbus.fi 14 14 15 15 Some small formal changes - aeb, 950809 ··· 17 17 Last modified: 18-JAN-1998 Richard Gooch <rgooch@atnf.csiro.au> Devfs support 18 18 */ 19 19 20 - static const char *verstr = "20050830"; 20 + static const char *verstr = "20061107"; 21 21 22 22 #include <linux/module.h> 23 23 ··· 999 999 STp->min_block = ((STp->buffer)->b_data[4] << 8) | 1000 1000 (STp->buffer)->b_data[5]; 1001 1001 if ( DEB( debugging || ) !STp->inited) 1002 - printk(KERN_WARNING 1002 + printk(KERN_INFO 1003 1003 "%s: Block limits %d - %d bytes.\n", name, 1004 1004 STp->min_block, STp->max_block); 1005 1005 } else { ··· 1221 1221 } 1222 1222 1223 1223 DEBC( if (STp->nbr_requests) 1224 - printk(KERN_WARNING "%s: Number of r/w requests %d, dio used in %d, pages %d (%d).\n", 1224 + printk(KERN_DEBUG "%s: Number of r/w requests %d, dio used in %d, pages %d (%d).\n", 1225 1225 name, STp->nbr_requests, STp->nbr_dio, STp->nbr_pages, STp->nbr_combinable)); 1226 1226 1227 1227 if (STps->rw == ST_WRITING && !STp->pos_unknown) { ··· 4053 4053 goto out_free_tape; 4054 4054 } 4055 4055 4056 - sdev_printk(KERN_WARNING, SDp, 4056 + sdev_printk(KERN_NOTICE, SDp, 4057 4057 "Attached scsi tape %s\n", tape_name(tpnt)); 4058 - printk(KERN_WARNING "%s: try direct i/o: %s (alignment %d B)\n", 4059 - tape_name(tpnt), tpnt->try_dio ? "yes" : "no", 4060 - queue_dma_alignment(SDp->request_queue) + 1); 4058 + sdev_printk(KERN_INFO, SDp, "%s: try direct i/o: %s (alignment %d B)\n", 4059 + tape_name(tpnt), tpnt->try_dio ? "yes" : "no", 4060 + queue_dma_alignment(SDp->request_queue) + 1); 4061 4061 4062 4062 return 0; 4063 4063