summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd_dif.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2008-10-01 07:37:21 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-10-13 15:28:58 +0200
commitcbdc14459bd7d99d20341ec057b8f4ffab2a7fb6 (patch)
tree1ac19d38e2ba8533ef35d05b478c2ce02320efd1 /drivers/scsi/sd_dif.c
parent[SCSI] sd: Correctly handle all combinations of DIF and DIX (diff)
downloadlinux-cbdc14459bd7d99d20341ec057b8f4ffab2a7fb6.tar.xz
linux-cbdc14459bd7d99d20341ec057b8f4ffab2a7fb6.zip
[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)
if (type) {
if (dif)
- sd_printk(KERN_INFO, sdkp,
+ sd_printk(KERN_NOTICE, sdkp,
"Enabling DIF Type %d protection\n", type);
else
- sd_printk(KERN_INFO, sdkp,
+ sd_printk(KERN_NOTICE, sdkp,
"Disabling DIF Type %d protection\n", type);
}
@@ -344,7 +344,7 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
else
blk_integrity_register(disk, &dif_type1_integrity_crc);
- sd_printk(KERN_INFO, sdkp,
+ sd_printk(KERN_NOTICE, sdkp,
"Enabling DIX %s protection\n", disk->integrity->name);
/* Signal to block layer that we support sector tagging */
@@ -354,7 +354,7 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
else
disk->integrity->tag_size = sizeof(u16);
- sd_printk(KERN_INFO, sdkp, "DIF application tag size %u\n",
+ sd_printk(KERN_NOTICE, sdkp, "DIF application tag size %u\n",
disk->integrity->tag_size);
}
}