Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH v2] docs: s390: pci: Fix the sriov_numvfs attribute name
@ 2026-09-07  5:58 Karl Mehltretter
  2026-09-07  6:00 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Mehltretter @ 2026-09-07  5:58 UTC (permalink / raw)
  To: Niklas Schnelle, Gerd Bayer
  Cc: Karl Mehltretter, Heiko Carstens, Vasily Gorbik,
	Alexander Gordeev, linux-s390, Jonathan Corbet, linux-doc,
	Shuah Khan, Randy Dunlap, Pierre Morel

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
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: name the file that defines the attribute, drivers/pci/iov.c (Randy);
    Reviewed-by collected
v1: https://lore.kernel.org/r/20260905091627.40946-1-kmehltretter@gmail.com/

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

diff --git a/Documentation/arch/s390/pci.rst b/Documentation/arch/s390/pci.rst
index 80f4ba193159..565434626fb5 100644
--- a/Documentation/arch/s390/pci.rst
+++ b/Documentation/arch/s390/pci.rst
@@ -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
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-07  6:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07  5:58 [PATCH v2] docs: s390: pci: Fix the sriov_numvfs attribute name Karl Mehltretter
2026-09-07  6:00 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox