On 2/9/22 00:11, Hannes Reinecke wrote:
On 2/8/22 18:24, Bart Van Assche wrote:+static inline struct scsi_pointer *mac53c94_scsi_pointer(struct scsi_cmnd *cmd)+{ + struct mac53c94_cmd_priv *mcmd = scsi_cmd_priv(cmd); + + return &mcmd->scsi_pointer; +} + #endif /* _MAC53C94_H */Also here: Why not use 'struct scsi_pointer' directly as command payload?
To make it easier to add more private command data in the future. Do you perhaps want me to use struct scsi_pointer directly?
Thanks, Bart.