Skip to contentSkip to conversation

docs: s390: pci: Fix the sriov_numvfs attribute name

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 7 – Sep 14

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs: s390: pci: Fix the sriov_numvfs attribute name

The attribute is sriov_numvfs (drivers/pci/iov.c); the document names it sriov_numvf, which does not exist.

Use sriov_numvfs.

Fixes de267a7c71ba ("s390/pci: Documentation for zPCI")
Assisted-by LLM

---
v2: name the file that defines the attribute, drivers/pci/iov.c (Randy);
Reviewed-by collected
v1: https://lore.kernel.org/r/[email protected]/

 Documentation/arch/s390/pci.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/arch/s390/pci.rst +1 -1
index 80f4ba193159..565434626fb5 100644
@@ -67,7 +67,7 @@ Entries specific to zPCI functions and entries that hold zPCI information.
 
   A physical function that currently supports a virtual function cannot be
   powered off until all virtual functions are removed with:
-  echo 0 > /sys/bus/pci/devices/DDDD:BB:dd.f/sriov_numvf
+  echo 0 > /sys/bus/pci/devices/DDDD:BB:dd.f/sriov_numvfs
 
 * /sys/bus/pci/devices/DDDD:BB:dd.f/:
 

base-commit: 986c24e0fe44f844b44d365b71ce831947f50298

Signature · 1 line
2.53.0
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 8 lines

The attribute is sriov_numvfs (drivers/pci/iov.c); the document names it sriov_numvf, which does not exist.

Use sriov_numvfs.

Fixes de267a7c71ba ("s390/pci: Documentation for zPCI")
Assisted-by LLM

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
maintainer Applied
#2 lore raw
In reply to Karl Mehltretter
Quoted 9 lines · Karl Mehltretter

The attribute is sriov_numvfs (drivers/pci/iov.c); the document names it sriov_numvf, which does not exist.

Use sriov_numvfs.

Fixes de267a7c71ba ("s390/pci: Documentation for zPCI")
Assisted-by LLM
Quoted 7 lines

---
v2: name the file that defines the attribute, drivers/pci/iov.c (Randy);
Reviewed-by collected
v1: https://lore.kernel.org/r/[email protected]/

 Documentation/arch/s390/pci.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!