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

Jialong Yang posted 1 patch 1 year, 5 months ago
Documentation/admin-guide/dynamic-debug-howto.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs/dyndbg: fix the example using dyndbg option in modprobe
Posted by Jialong Yang 1 year, 5 months ago
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@shingroup.cn>
---
 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