Mike, > If scsi_execute_cmd returns < 0, it doesn't initialize the sshdr, so > we shouldn't access the sshdr. If it returns 0, then the cmd executed > successfully, so there is no need to check the sshdr. sd_sync_cache > will only access the sshdr if it's been setup because it calls > scsi_status_is_check_condition before accessing it. However, the > sd_sync_cache caller, sd_suspend_common, does not check. Applied to 6.7/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering