summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llmnr-query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llmnr-query.c b/llmnr-query.c
index 7e72836..d2fda6b 100644
--- a/llmnr-query.c
+++ b/llmnr-query.c
@@ -333,7 +333,7 @@ int main(int argc, char **argv)
char addr[INET6_ADDRSTRLEN];
uint16_t type, clss, addr_size;
uint32_t ttl;
- char *name;
+ const char *name;
int af;
/* compression? */
>)
Staging: octeon: Add missing of_node_put after calling of_parse_phandle.
of_node_put needs to be called when the device node which is got from of_parse_phandle is no longer used. This patch is found by below coccinelle script: @@ expression e,e1,e2; @@ *e = of_parse_phandle(...) ... when != of_node_put(e) when != true e == NULL when != e2 = e e = e1 Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat