Skip to content

ata_eh_set_lpm() cleanups

Niklas Cassel linux-ide 2 versions – Applied

Status from this message: Applied to for-6.16. Thanks !

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesApplied
  2. v17 patches 5 repliesSuperseded

Changes in v2 from the cover letter

-Squashed patches 3 and 4 as requested by Damien. -Squashed patches 6 and 7 as requested by Damien.
-Changed WARN_ON to WARN_ON_ONCE.
-Changed patch 1 to remove parts of a comment that is no longer true.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5ata: libata-eh: Update DIPM comments to reflect realitydrivers/ata/libata-eh.c+8 -50 replies
2/5ata: libata-eh: Add ata_eh_set_lpm() WARN_ON_ONCEdrivers/ata/libata-eh.c+7 -00 replies
3/5ata: libata-eh: Rename hipm and dipm variablesdrivers/ata/libata-eh.c+9 -60 replies
4/5ata: libata-eh: Rename no_dipm variable to be more cleardrivers/ata/libata-eh.c+5 -40 replies
5/5ata: libata-eh: Keep DIPM disabled while modifying the allowed LPM statesdrivers/ata/libata-eh.c+1 -20 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] ata_eh_set_lpm() cleanups

Hello all,

I was trying to understand ata_eh_set_lpm(), and decided that it needed some cleanups to make the code more understandable.

Please have a look.

Changes since v1:
-Squashed patches 3 and 4 as requested by Damien. -Squashed patches 6 and 7 as requested by Damien.
-Changed WARN_ON to WARN_ON_ONCE.
-Changed patch 1 to remove parts of a comment that is no longer true.

Niklas Cassel (5):
ata: libata-eh: Update DIPM comments to reflect reality
ata: libata-eh: Add ata_eh_set_lpm() WARN_ON_ONCE
ata: libata-eh: Rename hipm and dipm variables
ata: libata-eh: Rename no_dipm variable to be more clear
ata: libata-eh: Keep DIPM disabled while modifying the allowed LPM
states

 drivers/ata/libata-eh.c | 39 ++++++++++++++++++++++++++-------------
 1 file changed, 26 insertions(+), 13 deletions(-)
Signature · 1 line
2.49.0