[PATCH] docs/dyndbg: fix the example using dyndbg option in modprobe

From: Jialong Yang
Date: Wed Aug 14 2024 - 05:17:05 EST


The old 'dyndbg==pmf' is not a right way to add dyndbg when modprobe.
It should be 'dyndbg=pmf'.

Signed-off-by: Jialong Yang <jialong.yang@xxxxxxxxxxxx>
---
Documentation/admin-guide/dynamic-debug-howto.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst
index 0e9b48daf690..e589a6eea9d3 100644
--- a/Documentation/admin-guide/dynamic-debug-howto.rst
+++ b/Documentation/admin-guide/dynamic-debug-howto.rst
@@ -273,7 +273,7 @@ in the following order:

3. args to modprobe::

- modprobe foo dyndbg==pmf # override previous settings
+ modprobe foo dyndbg=pmf # override previous settings

These ``dyndbg`` queries are applied in order, with last having final say.
This allows boot args to override or modify those from ``/etc/modprobe.d``
--
2.34.1