Skip to content

Commit ff9517a

Browse files
dhowellsSteve French
authored andcommitted
DNS: Fixes for the DNS query module
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>
1 parent af352fe commit ff9517a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎Documentation/networking/dns_resolver.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ implemented in the module can be called after doing:
9696
for the default query type it is just a list of comma-separated IPv4 and
9797
IPv6 addresses. The caller must free the result.
9898

99-
The length of the result string is returned on success, and a -ve error
100-
code is returned otherwise. -EKEYREJECTED will be returned if the DNS
101-
lookup failed.
99+
The length of the result string is returned on success, and a negative
100+
error code is returned otherwise. -EKEYREJECTED will be returned if the
101+
DNS lookup failed.
102102

103103
If _expiry is non-NULL, the expiry time (TTL) of the result will be
104104
returned also.

‎net/dns_resolver/dns_query.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
#include "internal.h"
4747

48-
/*
48+
/**
4949
* dns_query - Query the DNS
5050
* @type: Query type (or NULL for straight host->IP lookup)
5151
* @name: Name to look up

0 commit comments

Comments
 (0)