Numerous devices don't present cache data, particularly USB sticks. The devices operate correctly despite this, so lower the printk severity to KERN_NOTICE. Signed-off-by: Josh Boyer <jwboyer@xxxxxxxxxx> --- diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index fa3a591..7cf9ec5 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -2119,7 +2119,7 @@ sd_read_cache_type(struct scsi_disk *sdkp, unsigned char *buffer) } if (modepage == 0x3F) { - sd_printk(KERN_ERR, sdkp, "No Caching mode page " + sd_printk(KERN_NOTICE, sdkp, "No Caching mode page " "present\n"); goto defaults; } else if ((buffer[offset] & 0x3f) != modepage) { @@ -2164,7 +2164,7 @@ bad_sense: sd_printk(KERN_ERR, sdkp, "Asking for cache data failed\n"); defaults: - sd_printk(KERN_ERR, sdkp, "Assuming drive cache: write through\n"); + sd_printk(KERN_NOTICE, sdkp, "Assuming drive cache: write through\n"); sdkp->WCE = 0; sdkp->RCD = 0; sdkp->DPOFUA = 0; -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html