Re: [PATCH 05/24] scsi: add scsi_cmd_from_priv()

2019-05-29 Thread Hannes Reinecke
On 5/29/19 5:14 PM, Bart Van Assche wrote: On 5/29/19 6:28 AM, Hannes Reinecke wrote: Add a command to retrieve the scsi_cmnd structure from the driver     ^^^     function? private allocation data. Sure. Cheers, Hannes -- Dr. Hannes ReineckeTeamlead Storage & Netw

Re: [PATCH 05/24] scsi: add scsi_cmd_from_priv()

2019-05-29 Thread Bart Van Assche
On 5/29/19 6:28 AM, Hannes Reinecke wrote: Add a command to retrieve the scsi_cmnd structure from the driver ^^^ function? private allocation data.

[PATCH 05/24] scsi: add scsi_cmd_from_priv()

2019-05-29 Thread Hannes Reinecke
Add a command to retrieve the scsi_cmnd structure from the driver private allocation data. Signed-off-by: Hannes Reinecke --- include/scsi/scsi_cmnd.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/scsi/scsi_cmnd.h b/include/scsi/scsi_cmnd.h index 76ed5e4acd38..318f1e729