aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd_dif.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2008-10-01 01:37:21 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-10-13 09:28:58 -0400
commitcbdc14459bd7d99d20341ec057b8f4ffab2a7fb6 (patch)
tree1ac19d38e2ba8533ef35d05b478c2ce02320efd1 /drivers/scsi/sd_dif.c
parent9e06688e7d60149cc9ef78ff29515c20186bb418 (diff)
[SCSI] sd: Switch kernel printing level for DIF messages
For some reason these messages ended up being printed with KERN_INFO rendering them invisible to pretty much everyone. Switch to KERN_NOTICE. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/sd_dif.c')
-rw-r--r--drivers/scsi/sd_dif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/sd_dif.c b/drivers/scsi/sd_dif.c
index 194c7706083b..3ebb1f289490 100644
--- a/drivers/scsi/sd_dif.c
+++ b/drivers/scsi/sd_dif.c
@@ -322,10 +322,10 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
322 322
323 if (type) { 323 if (type) {
324 if (dif) 324 if (dif)
325 sd_printk(KERN_INFO, sdkp, 325 sd_printk(KERN_NOTICE, sdkp,
326 "Enabling DIF Type %d protection\n", type); 326 "Enabling DIF Type %d protection\n", type);
327 else 327 else
328 sd_printk(KERN_INFO, sdkp, 328 sd_printk(KERN_NOTICE, sdkp,
329 "Disabling DIF Type %d protection\n", type); 329 "Disabling DIF Type %d protection\n", type);
330 } 330 }
331 331
@@ -344,7 +344,7 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
344 else 344 else
345 blk_integrity_register(disk, &dif_type1_integrity_crc); 345 blk_integrity_register(disk, &dif_type1_integrity_crc);
346 346
347 sd_printk(KERN_INFO, sdkp, 347 sd_printk(KERN_NOTICE, sdkp,
348 "Enabling DIX %s protection\n", disk->integrity->name); 348 "Enabling DIX %s protection\n", disk->integrity->name);
349 349
350 /* Signal to block layer that we support sector tagging */ 350 /* Signal to block layer that we support sector tagging */
@@ -354,7 +354,7 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
354 else 354 else
355 disk->integrity->tag_size = sizeof(u16); 355 disk->integrity->tag_size = sizeof(u16);
356 356
357 sd_printk(KERN_INFO, sdkp, "DIF application tag size %u\n", 357 sd_printk(KERN_NOTICE, sdkp, "DIF application tag size %u\n",
358 disk->integrity->tag_size); 358 disk->integrity->tag_size);
359 } 359 }
360} 360}