From d08ff82b68afb63fa2fe447a6730f151caf1612b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 19 Feb 2015 16:39:36 +0100 Subject: llmnr-query: Inform about empty responses Signed-off-by: Tobias Klauser --- llmnr-query.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llmnr-query.c b/llmnr-query.c index cf738e4..66bbe89 100644 --- a/llmnr-query.c +++ b/llmnr-query.c @@ -252,6 +252,11 @@ int main(int argc, char **argv) hdr = (struct llmnr_hdr *)pkt_put(p, sizeof(*hdr)); ancount = htons(hdr->ancount); + if (ancount == 0) { + log_info("LLMNR response: no answer records returned\n"); + continue; + } + /* skip the original query */ pkt_put(p, query_pkt_len); -- cgit v1.2.3-54-g00ecf n='2'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2016-08-02 14:40:11 -0700
committerStephen Boyd <sboyd@codeaurora.org>2016-08-15 15:45:57 -0700
commit33608dcd01d0c0eb3f2442d88c8a97f1195bd2d5 (patch)
tree8b6de01adbbb3c0207a438db5b9dec522608cc40 /drivers/clk/meson
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
clk: gxbb: add MMC gate clocks, and expose for DT
Add the SD/eMMC gate clocks and expose them for use by DT. While at it, also explose FCLK_DIV2 since this is one of the input clocks to the mux internal to each of the SD/eMMC blocks. Signed-off-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/meson')