diff options
| author | ManYi Li <[email protected]> | 2021-06-11 09:44:02 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-06-19 02:15:47 +0000 |
| commit | 7dd753ca59d6c8cc09aa1ed24f7657524803c7f3 (patch) | |
| tree | df1acc9e9ad96d9974627fb0744604456c66d6bd /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | scsi: core: Only put parent device if host state differs from SHOST_CREATED (diff) | |
| download | kernel-7dd753ca59d6c8cc09aa1ed24f7657524803c7f3.tar.gz kernel-7dd753ca59d6c8cc09aa1ed24f7657524803c7f3.zip | |
scsi: sr: Return appropriate error code when disk is ejected
Handle a reported media event code of 3. This indicates that the media has
been removed from the drive and user intervention is required to proceed.
Return DISK_EVENT_EJECT_REQUEST in that case.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: ManYi Li <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
