All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman-adv: Add cast to bat_counters in types.h
@ 2012-04-24  8:30 Martin Hundebøll
  2012-04-25 12:04 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Hundebøll @ 2012-04-24  8:30 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Martin Hundebøll

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
---
 types.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/types.h b/types.h
index 2944f77..41283e0 100644
--- a/types.h
+++ b/types.h
@@ -187,7 +187,7 @@ enum bat_counters {
 struct bat_priv {
 	atomic_t mesh_state;
 	struct net_device_stats stats;
-	uint64_t *bat_counters; /* Per cpu counters */
+	uint64_t __percpu *bat_counters; /* Per cpu counters */
 	atomic_t aggregated_ogms;	/* boolean */
 	atomic_t bonding;		/* boolean */
 	atomic_t fragmentation;		/* boolean */
-- 
1.7.10


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Add cast to bat_counters in types.h
  2012-04-24  8:30 [B.A.T.M.A.N.] [PATCH] batman-adv: Add cast to bat_counters in types.h Martin Hundebøll
@ 2012-04-25 12:04 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2012-04-25 12:04 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Tuesday, April 24, 2012 16:30:30 Martin Hundebøll wrote:
> Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
> ---
>  types.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied in revision e214bc7.

Thanks,
Marek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-25 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24  8:30 [B.A.T.M.A.N.] [PATCH] batman-adv: Add cast to bat_counters in types.h Martin Hundebøll
2012-04-25 12:04 ` Marek Lindner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.