On 2/8/22 23:58, Hannes Reinecke wrote:
On 2/8/22 18:24, Bart Van Assche wrote:+struct imm_cmd_priv { + struct scsi_pointer scsi_pointer; +}; +Why the indirection? You can use 'struct scsi_pointer' directly as payload, no?
The indirection makes it easy to add more private command data in the future. However, I don't have a strong opinion about this. I can remove the indirection if you prefer this?
Thanks, Bart.