From: Alexey Dobriyan Date: Thu, 23 Mar 2017 21:58:26 +0000 (+0300) Subject: net: make in_aton() 32-bit internally X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e013fb7c4c9fa8aa914d85d8b466c990b2eaebb6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: make in_aton() 32-bit internally Converting IPv4 address doesn't need 64-bit arithmetic. Space savings: 10 bytes! add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-10 (-10) function old new delta in_aton 96 86 -10 Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- diff --git a/net/core/utils.c b/net/core/utils.c index 6592d7bbed39..d758880c09a7 100644 --- a/net/core/utils.c +++ b/net/core/utils.c @@ -51,7 +51,7 @@ EXPORT_SYMBOL(net_ratelimit); __be32 in_aton(const char *str) { - unsigned long l; + unsigned int l; unsigned int val; int i;