Messages in this thread | | | Subject | Re: [PATCH] scsi: Let scsi_execute_cmd() mark args->sshdr as invalid | From | "Martin K. Petersen" <> | Date | Sat, 20 May 2023 20:46:27 -0400 |
| |
Juergen,
>> Which callers? sd_spinup_disk() appears to do the right thing... >> > > Not really. It is calling media_not_present() directly after the call of > scsi_execute_cmd() without checking the result.
My bad. I was looking at sd_check_events(), not sd_spinup_disk().
-- Martin K. Petersen Oracle Linux Engineering
| |