Skip to content

skd/mtip32xx: Prefer pcie_capability_read_word()

Frederick Lawler linux-block lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

* Replace magic numbers constants

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4skd: Prefer pcie_capability_read_word()drivers/block/skd_main.c+2 -63 replies
2/4skd: Replace magic numbers with PCI constantsdrivers/block/skd_main.c+5 -32 replies
3/4mtip32xx: Prefer pcie_capability_read_word()drivers/block/mtip32xx/mtip32xx.c+12 -160 replies
4/4mtip32xx: Replace magic numbers with PCI constantsdrivers/block/mtip32xx/mtip32xx.c+2 -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/4] skd/mtip32xx: Prefer pcie_capability_read_word()

Hi,

These changes are in reference to Bjorn's suggestions here:
https://lore.kernel.org/lkml/CAErSpo6BmWDxi3Vckm03=fZHEUosTgkMUjqCvYRA186jv8XbFw@mail.gmail.com/
https://lore.kernel.org/lkml/CAErSpo5TZC3iM09SB1td+F7b-+aiu9EHwPYa1ayiU-i1tseV5w@mail.gmail.com/

And the patches are rebased ontop of 54ecb8f7028c ("Linux 5.4-rc1")

Changes since v1:
* Replace magic numbers constants

This is a long time coming, apologies for dragging my feet on getting these trivial patches out.

Frederick Lawler (4):
skd: Prefer pcie_capability_read_word()
skd: Replace magic numbers with PCI constants
mtip32xx: Prefer pcie_capability_read_word()
mtip32xx: Replace magic numbers with PCI constants

 drivers/block/mtip32xx/mtip32xx.c | 28 ++++++++++++----------------
 drivers/block/skd_main.c          | 14 ++++++--------
 2 files changed, 18 insertions(+), 24 deletions(-)

--
2.20.1