Skip to contentSkip to conversation

dns_resolver: correct sysfs path name in dns resolver documentation

PATCH Superseded Bharath SM 3 participants 6 messages Mar 23, 2024 – Mar 26, 2024

Subsystems (3)
lore
Share & tools
lore

Bharath SM

author
#0 lore raw

PATCH 1/1 dns_resolver: correct sysfs path name in dns resolver documentation

Fix an incorrect sysfs path in dns resolver documentation

---
 Documentation/networking/dns_resolver.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/networking/dns_resolver.rst +1 -1
index add4d59a99a5..99bf72a6ed45 100644
@@ -152,4 +152,4 @@ Debugging
 Debugging messages can be turned on dynamically by writing a 1 into the
 following file::
 
-	/sys/module/dnsresolver/parameters/debug
+	/sys/module/dns_resolver/parameters/debug
Signature · 1 line
2.34.1
reviewer
#1 lore raw
Quoted 3 lines · Bharath SM

Fix an incorrect sysfs path in dns resolver documentation

Hi,

There is another instance of "dnsresolver" in the same file. Should it also be changed?

Quoted 18 lines
---
 Documentation/networking/dns_resolver.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/networking/dns_resolver.rst +1 -1
index add4d59a99a5..99bf72a6ed45 100644
@@ -152,4 +152,4 @@ Debugging
 Debugging messages can be turned on dynamically by writing a 1 into the
 following file::
 
-	/sys/module/dnsresolver/parameters/debug
+	/sys/module/dns_resolver/parameters/debug
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH v2 1/1 dns_resolver: correct module name in dns resolver documentation

In reply to Bharath SM

Fix an incorrect module name and sysfs path in dns resolver documentation.

---
 Documentation/networking/dns_resolver.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/networking/dns_resolver.rst +2 -2
index add4d59a99a5..c0364f7070af 100644
@@ -118,7 +118,7 @@ Keys of dns_resolver type can be read from userspace using keyctl_read() or
 Mechanism
 =========
 
-The dnsresolver module registers a key type called "dns_resolver".  Keys of
+The dns_resolver module registers a key type called "dns_resolver".  Keys of
 this type are used to transport and cache DNS lookup results from userspace.
 
 When dns_query() is invoked, it calls request_key() to search the local
@@ -152,4 +152,4 @@ Debugging
 Debugging messages can be turned on dynamically by writing a 1 into the
 following file::
 
-	/sys/module/dnsresolver/parameters/debug
+	/sys/module/dns_resolver/parameters/debug
Signature · 1 line
2.34.1
author
#2 lore raw
In reply to Simon Horman
Quoted 11 lines · Simon Horman
Quoted 3 lines · Bharath SM

Fix an incorrect sysfs path in dns resolver documentation

Hi,

There is another instance of "dnsresolver" in the same file. Should it also be changed?

Thanks for suggestion,
sent updated patch with subject "[PATCH v2] dns_resolver: correct module name in dns resolver documentation"

#5 lore raw

Re: [PATCH v2] dns_resolver: correct module name in dns resolver documentation

In reply to Bharath SM
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Quoted 7 lines · On Sun, 24 Mar 2024 16:13:38 +0530 you wrote:

Fix an incorrect module name and sysfs path in dns resolver documentation.

---
 Documentation/networking/dns_resolver.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Here is the summary with links:
- [v2] dns_resolver: correct module name in dns resolver documentation

    https://git.kernel.org/netdev/net-next/c/75925fafb4f6

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html