On 8/6/21 2:24 AM, Finn Thain wrote:
On Thu, 5 Aug 2021, Bart Van Assche wrote:
Prepare for removal of the request pointer by using scsi_cmd_to_rq()
instead. This patch does not change any functionality.
Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
Acked-by: Finn Thain <fthain@xxxxxxxxxxxxxx>
Did you consider replacing rq_data_dir(cmd->request) with
cmd->sc_data_direction for this driver?
That's an interesting suggestion but I prefer to minimize the number of
changes I make in NCR5380 drivers since I do not have access to a setup
on which I can test any of these drivers.
Bart.