Skip to content

libata: move err_mask to ata_queued_cmd (revised)

Albert Lee linux-ide 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libata: minor patch before moving err_maskdrivers/scsi/libata-core.c+7 -30 replies
1/4libata: minor patch before moving err_maskdrivers/scsi/libata-core.c+7 -30 replies
2/4libata: move err_mask to ata_queued_cmddrivers/scsi/ahci.c drivers/scsi/libata-core.c drivers/scsi/libata-scsi.c +8 more+74 -500 replies
2/4libata: move err_mask to ata_queued_cmddrivers/scsi/ahci.c drivers/scsi/libata-core.c drivers/scsi/libata-scsi.c +8 more+86 -560 replies
3/4libata: determine the err_mask when the error is founddrivers/scsi/libata-core.c+9 -10 replies
3/4libata: determine the err_mask when the error is founddrivers/scsi/libata-core.c+9 -10 replies
4/4libata: determine the err_mask directly in atapi_packet_task()drivers/scsi/libata-core.c+7 -60 replies
4/4libata: determine the err_mask directly in atapi_packet_task()drivers/scsi/libata-core.c+7 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH/RFC 0/4] libata: move err_mask to ata_queued_cmd (revised)

Dear all,

Description:
Move the err_mask parameter of the complete functions to ata_queued_cmd. This can make the err_mask more accessible outside the complete functions; also can make the HSM easier to determine and pass err_mask between states.

patch 1/4: minor patch to pave the road for patch 2 and 3 patch 2/4: move err_mask to ata_queued_cmd
patch 3/4: determine the err_mask when the error is found patch 4/4: determine the err_mask directly in atapi_packet_task()

Revised patch against the mainline tree
(e4d76e1c0b15590f2ad9bba89426c2520cd22ca6).

For your review and advice, thanks.

Albert