Linux Documentation
 help / color / mirror / Atom feed
* [PATCH] docs: s390: pci: Fix the sriov_numvfs attribute name
@ 2026-09-05  9:16 Karl Mehltretter
  2026-09-05 17:17 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Mehltretter @ 2026-09-05  9:16 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/s390/pci/pci_sysfs.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>
---
 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/:
 
-- 
2.53.0


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

* Re: [PATCH] docs: s390: pci: Fix the sriov_numvfs attribute name
  2026-09-05  9:16 [PATCH] docs: s390: pci: Fix the sriov_numvfs attribute name Karl Mehltretter
@ 2026-09-05 17:17 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2026-09-05 17:17 UTC (permalink / raw)
  To: Karl Mehltretter, Niklas Schnelle, Gerd Bayer
  Cc: Heiko Carstens, Vasily Gorbik, Alexander Gordeev, linux-s390,
	Jonathan Corbet, linux-doc, Shuah Khan, Pierre Morel



On 9/5/26 2:16 AM, Karl Mehltretter wrote:
> The attribute is sriov_numvfs (drivers/s390/pci/pci_sysfs.c); the

file drivers/s390/pci/pci_sysfs.c not found.
maybe drivers/pci/iov.c?


> 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>
> ---
>  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/:
>  

With the file name corrected:
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

-- 
~Randy

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

end of thread, other threads:[~2026-09-05 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05  9:16 [PATCH] docs: s390: pci: Fix the sriov_numvfs attribute name Karl Mehltretter
2026-09-05 17:17 ` Randy Dunlap

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