Skip to content

Commit

Permalink
DNS: Fixes for the DNS query module
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
dhowells authored and Steve French committed Aug 6, 2010
1 parent af352fe commit ff9517a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Documentation/networking/dns_resolver.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion net/dns_resolver/dns_query.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff9517a

Please sign in to comment.