[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq11qjaqzq8.fsf@ca-mkp.ca.oracle.com>
Date: Sat, 20 May 2023 20:46:27 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Juergen Gross <jgross@...e.com>
Cc: "Martin K. Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
"James E.J. Bottomley" <jejb@...ux.ibm.com>, stable@...r.kernel.org
Subject: Re: [PATCH] scsi: Let scsi_execute_cmd() mark args->sshdr as invalid
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
Powered by blists - more mailing lists