Skip to content

PCI/VPD: Improve handling binary sysfs attribute

Heiner Kallweit linux-pci 2 versions – Applied

Status from this message: Applied to pci/vpd for v5.13, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- switch to using PCI sysfs core code in patch 2

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2PCI/VPD: Remove dead code from sysfs access functionsdrivers/pci/vpd.c+0 -141 reply
2/2PCI/VPD: Let PCI sysfs core code handle VPD binary attributedrivers/pci/pci-sysfs.c drivers/pci/pci.h drivers/pci/vpd.c+40 -701 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Wilczyński
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] PCI/VPD: Improve handling binary sysfs attribute

Since 104daa71b396 ("PCI: Determine actual VPD size on first access") there's nothing that keeps us from using a static attribute. This allows to significantly simplify the code.

v2:
- switch to using PCI sysfs core code in patch 2

Heiner Kallweit (2):
PCI/VPD: Remove dead code from sysfs access functions PCI/VPD: Let PCI sysfs core code handle VPD binary attribute

 drivers/pci/pci-sysfs.c | 54 +++++++++++++++++++++++---------
 drivers/pci/pci.h       |  2 --
 drivers/pci/vpd.c       | 68 -----------------------------------------
 3 files changed, 40 insertions(+), 84 deletions(-)
Signature · 1 line
2.30.0