]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
DNS: Fixes for the DNS query module
authorDavid Howells <dhowells@redhat.com>
Fri, 6 Aug 2010 02:13:52 +0000 (03:13 +0100)
committerSteve French <sfrench@us.ibm.com>
Fri, 6 Aug 2010 02:26:27 +0000 (02:26 +0000)
Fixes for the DNS query module, including:

 (1) Use 'negative' instead of '-ve' in the documentation.

 (2) Mark the kdoc comment with '/**' on dns_query().

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Documentation/networking/dns_resolver.txt
net/dns_resolver/dns_query.c

index d8e0ce1d38c71ee07e88c6bac55249ae8e90026e..aefd1e681804b2759f196249883ddeacd029bce6 100644 (file)
@@ -96,9 +96,9 @@ implemented in the module can be called after doing:
      for the default query type it is just a list of comma-separated IPv4 and
      IPv6 addresses.  The caller must free the result.
 
-     The length of the result string is returned on success, and a -ve error
-     code is returned otherwise.  -EKEYREJECTED will be returned if the DNS
-     lookup failed.
+     The length of the result string is returned on success, and a negative
+     error code is returned otherwise.  -EKEYREJECTED will be returned if the
+     DNS lookup failed.
 
      If _expiry is non-NULL, the expiry time (TTL) of the result will be
      returned also.
index b33e1f7ff48d17ed3518db0918f9f2b96ba56a1b..03d5255f5cf2a08cd4a1efe8d4a57638d5c15f65 100644 (file)
@@ -45,7 +45,7 @@
 
 #include "internal.h"
 
-/*
+/**
  * dns_query - Query the DNS
  * @type: Query type (or NULL for straight host->IP lookup)
  * @name: Name to look up