[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1ttwbsoii.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 16 May 2023 22:06:23 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Juergen Gross <jgross@...e.com>
Cc: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
stable@...r.kernel.org
Subject: Re: [PATCH] scsi: Let scsi_execute_cmd() mark args->sshdr as invalid
Juergen,
> Some callers of scsi_execute_cmd() (like e.g. sd_spinup_disk()) are
> passing an uninitialized struct sshdr and don't look at the return
> value of scsi_execute_cmd() before looking at the contents of that
> struct.
Which callers? sd_spinup_disk() appears to do the right thing...
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists