public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman-adv: correct !x & y in !(x & y)
@ 2011-05-28 22:26 Antonio Quartulli
  2011-05-29  6:31 ` Sven Eckelmann
  0 siblings, 1 reply; 3+ messages in thread
From: Antonio Quartulli @ 2011-05-28 22:26 UTC (permalink / raw)
  To: B.A.T.M.A.N

This error was introduced with: 4dea0274b8edeab50bfeb6685ef33362e3ec9299

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
This error has been found using sparse

 translation-table.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/translation-table.c b/translation-table.c
index 464569e..f0d8857 100644
--- a/translation-table.c
+++ b/translation-table.c
@@ -724,7 +724,7 @@ static void tt_global_roam_purge(struct bat_priv *bat_priv)
 		spin_lock_bh(list_lock);
 		hlist_for_each_entry_safe(tt_global_entry, node, node_tmp,
 					  head, hash_entry) {
-			if (!tt_global_entry->flags & TT_GLOBAL_ROAM)
+			if (!(tt_global_entry->flags & TT_GLOBAL_ROAM))
 				continue;
 			if (!is_out_of_time(tt_global_entry->roam_at,
 					    TT_GLOBAL_ROAM_TIMEOUT * 1000))
-- 
1.7.3.4


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

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: correct !x & y in !(x & y)
  2011-05-28 22:26 [B.A.T.M.A.N.] [PATCH] batman-adv: correct !x & y in !(x & y) Antonio Quartulli
@ 2011-05-29  6:31 ` Sven Eckelmann
  2011-05-29 11:58   ` Marek Lindner
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Eckelmann @ 2011-05-29  6:31 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: Text/Plain, Size: 530 bytes --]

On Sunday 29 May 2011 00:26:17 Antonio Quartulli wrote:
> This error was introduced with: 4dea0274b8edeab50bfeb6685ef33362e3ec9299
> 
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>

An extrem large and loud

Acked-by: Sven Eckelmann <sven@narfation.org>

And to the Acked-by: Simon Wunderlich <...> stuff in the tt patch. Marek 
submitted a version which was modified a lot in the last minute and I would 
doubt that Simon found time to do all his tests. Still this line remained....

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: correct !x & y in !(x & y)
  2011-05-29  6:31 ` Sven Eckelmann
@ 2011-05-29 11:58   ` Marek Lindner
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Lindner @ 2011-05-29 11:58 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Sunday 29 May 2011 08:31:41 Sven Eckelmann wrote:
> On Sunday 29 May 2011 00:26:17 Antonio Quartulli wrote:
> > This error was introduced with: 4dea0274b8edeab50bfeb6685ef33362e3ec9299
> > 
> > Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> 
> An extrem large and loud
> 
> Acked-by: Sven Eckelmann <sven@narfation.org>

Applied in revision a726fda


> And to the Acked-by: Simon Wunderlich <...> stuff in the tt patch. Marek
> submitted a version which was modified a lot in the last minute and I would
> doubt that Simon found time to do all his tests. Still this line
> remained....

Yes, I did not check the commit message again. 
Please don't add these "Acked-by" statements. I'll add them prior to the 
commit if applicable. 

Thanks,
Marek

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

end of thread, other threads:[~2011-05-29 11:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-28 22:26 [B.A.T.M.A.N.] [PATCH] batman-adv: correct !x & y in !(x & y) Antonio Quartulli
2011-05-29  6:31 ` Sven Eckelmann
2011-05-29 11:58   ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox