Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbdc1445 authored by Martin K. Petersen's avatar Martin K. Petersen Committed by James Bottomley
Browse files

[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: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 9e06688e
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -322,10 +322,10 @@ void sd_dif_config_host(struct scsi_disk *sdkp)


	if (type) {
	if (type) {
		if (dif)
		if (dif)
			sd_printk(KERN_INFO, sdkp,
			sd_printk(KERN_NOTICE, sdkp,
				  "Enabling DIF Type %d protection\n", type);
				  "Enabling DIF Type %d protection\n", type);
		else
		else
			sd_printk(KERN_INFO, sdkp,
			sd_printk(KERN_NOTICE, sdkp,
				  "Disabling DIF Type %d protection\n", type);
				  "Disabling DIF Type %d protection\n", type);
	}
	}


@@ -344,7 +344,7 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
		else
		else
			blk_integrity_register(disk, &dif_type1_integrity_crc);
			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);
		  "Enabling DIX %s protection\n", disk->integrity->name);


	/* Signal to block layer that we support sector tagging */
	/* Signal to block layer that we support sector tagging */
@@ -354,7 +354,7 @@ void sd_dif_config_host(struct scsi_disk *sdkp)
		else
		else
			disk->integrity->tag_size = sizeof(u16);
			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);
			  disk->integrity->tag_size);
	}
	}
}
}