drivers: scsi: Reduce logspam

This commit is contained in:
Pzqqt 2023-07-30 23:10:57 +08:00 committed by Ksawlii
parent 1c7f2b3800
commit 8f30152c01

View file

@ -3654,7 +3654,7 @@ static void sd_shutdown(struct device *dev)
return;
if (sdkp->WCE && sdkp->media_present) {
sd_printk(KERN_NOTICE, sdkp, "Synchronizing SCSI cache\n");
// sd_printk(KERN_NOTICE, sdkp, "Synchronizing SCSI cache\n");
sd_sync_cache(sdkp, NULL);
}
@ -3674,7 +3674,7 @@ static int sd_suspend_common(struct device *dev, bool ignore_stop_errors)
return 0;
if (sdkp->WCE && sdkp->media_present) {
sd_printk(KERN_NOTICE, sdkp, "Synchronizing SCSI cache\n");
// sd_printk(KERN_NOTICE, sdkp, "Synchronizing SCSI cache\n");
ret = sd_sync_cache(sdkp, &sshdr);
if (ret) {