summaryrefslogtreecommitdiff
path: root/geoip.c
diff options
context:
space:
mode:
Diffstat (limited to 'geoip.c')
-rw-r--r--geoip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/geoip.c b/geoip.c
index 78b20fe..439c052 100644
--- a/geoip.c
+++ b/geoip.c
@@ -150,6 +150,9 @@ static void geoip_inflate(int which)
while ((ret = gzread(fpi, raw, sizeof(raw))) && ret2)
ret2 = fwrite(raw, ret, 1, fpo);
+ if (!gzeof(fpi))
+ panic("Error in gzread: %s\n", gzerror(fpi, &ret));
+
gzclose(fpi);
fclose(fpo);
}
ers/usb/renesas_usbhs/Makefile?id=e2160156bf2a7d5018e99a9993fbcdda0abac09b&id2=62e13097c46c69dbd7544ab2cd585ccf48f360a4'>diff)parent6d04dfc8966019b8b0977b2cb942351f13d2b178 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
All merge conflicts were simple overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/renesas_usbhs/Makefile')