On Tue, Feb 08, 2022 at 09:25:07AM -0800, Bart Van Assche wrote: > Instead of using the SCp.ptr field to track whether or not a command is > in flight, use the sp->type field to track this information. sp->type > must be set for proper operation of the qla2xxx driver. See e.g. the > switch (sp->type) statement in qla2x00_ct_entry(). > > This patch prepares for removal of the SCSI pointer from struct scsi_cmnd. > > Cc: Nilesh Javali <njavali@xxxxxxxxxxx> > Cc: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx> > Cc: Daniel Wagner <dwagner@xxxxxxx> > Cc: Ewan D. Milne <emilne@xxxxxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Reviewed-by: Daniel Wagner <dwagner@xxxxxxx>