* [PATCH] ipv4: fix 32b build
@ 2015-08-31 12:46 Madalin Bucur
2015-08-31 12:57 ` Raghavendra K T
2015-08-31 18:38 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Madalin Bucur @ 2015-08-31 12:46 UTC (permalink / raw)
To: davem, raghavendra.kt; +Cc: netdev, Madalin Bucur
Address remaining issue after 80ec192.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
---
net/ipv4/af_inet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index c2d0ebc..96773a2 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1496,7 +1496,7 @@ u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_offset)
int cpu;
for_each_possible_cpu(cpu) {
- res += snmp_get_cpu_field(mib, cpu, offt, syncp_offset);
+ res += snmp_get_cpu_field64(mib, cpu, offt, syncp_offset);
}
return res;
}
--
1.7.11.7
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ipv4: fix 32b build
2015-08-31 12:46 [PATCH] ipv4: fix 32b build Madalin Bucur
@ 2015-08-31 12:57 ` Raghavendra K T
2015-08-31 18:38 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Raghavendra K T @ 2015-08-31 12:57 UTC (permalink / raw)
To: madalin.bucur; +Cc: davem, netdev
On 08/31/2015 06:16 PM, Madalin Bucur wrote:
> Address remaining issue after 80ec192.
>
> Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
> ---
> net/ipv4/af_inet.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
> index c2d0ebc..96773a2 100644
> --- a/net/ipv4/af_inet.c
> +++ b/net/ipv4/af_inet.c
> @@ -1496,7 +1496,7 @@ u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_offset)
> int cpu;
>
> for_each_possible_cpu(cpu) {
> - res += snmp_get_cpu_field(mib, cpu, offt, syncp_offset);
> + res += snmp_get_cpu_field64(mib, cpu, offt, syncp_offset);
> }
> return res;
> }
Thanks Madlin for catching this for 32bit.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ipv4: fix 32b build
2015-08-31 12:46 [PATCH] ipv4: fix 32b build Madalin Bucur
2015-08-31 12:57 ` Raghavendra K T
@ 2015-08-31 18:38 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2015-08-31 18:38 UTC (permalink / raw)
To: madalin.bucur; +Cc: raghavendra.kt, netdev
From: Madalin Bucur <madalin.bucur@freescale.com>
Date: Mon, 31 Aug 2015 15:46:07 +0300
> Address remaining issue after 80ec192.
>
> Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-31 19:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-31 12:46 [PATCH] ipv4: fix 32b build Madalin Bucur
2015-08-31 12:57 ` Raghavendra K T
2015-08-31 18:38 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).