From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Sven Eckelmann <sven@narfation.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH] list: fix order of arguments for hlist_add_after(_rcu)
Date: Sun, 09 Nov 2014 12:29:15 +0800 [thread overview]
Message-ID: <3095144.BcCRDmuA7d@diderot> (raw)
In-Reply-To: <1408102727-12671-1-git-send-email-sven@narfation.org>
[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]
On Friday 15 August 2014 13:38:47 Sven Eckelmann wrote:
> From: Ken Helias <kenhelias@firemail.de>
>
> All other add functions for lists have the new item as first argument
> and the position where it is added as second argument. This was changed
> for no good reason in this function and makes using it unnecessary
> confusing.
>
> The name was changed to hlist_add_behind() to cause unconverted code to
> generate a compile error instead of using the wrong parameter order.
>
> [akpm@linux-foundation.org: coding-style fixes]
> Signed-off-by: Ken Helias <kenhelias@firemail.de>
> Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> [intel driver bits]
> Cc: Hugh Dickins <hughd@google.com>
> Cc: Christoph Hellwig <hch@infradead.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
> [sven@narfation.org: fix parameter order, add compat code]
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> The patch to fix the order of arguments was already submitted to davem via
> http://article.gmane.org/gmane.linux.network/326598
>
> compat.h | 6 ++++++
> fragmentation.c | 2 +-
> 2 files changed, 7 insertions(+), 1 deletion(-)
Applied in revision 8353fd1.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2014-11-09 4:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-15 11:38 [B.A.T.M.A.N.] [PATCH] list: fix order of arguments for hlist_add_after(_rcu) Sven Eckelmann
2014-11-09 4:29 ` Marek Lindner [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-06-06 9:42 [B.A.T.M.A.N.] [PATCH] list: Fix " Ken Helias
2014-06-06 15:50 ` Greg KH
2014-06-06 15:56 ` David Laight
2014-06-06 17:22 ` Paul E. McKenney
2014-06-07 6:45 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3095144.BcCRDmuA7d@diderot \
--to=mareklindner@neomailbox.ch \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=sven@narfation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox