Re: [PATCH] scsi: Let scsi_execute_cmd() mark args->sshdr as invalid

From: Bart Van Assche
Date: Fri May 19 2023 - 12:54:41 EST


On 5/19/23 09:06, John Garry wrote:
Sure, what I describe is ideal, but I still just dislike passing both sensebuf and hdr into scsi_execute_cmd(). The semantics of how scsi_execute_cmd() treats them is vague.

Is this something that can be addressed by improving the scsi_execute_cmd() documentation?

Thanks,

Bart.