Re: [PATCH] list: Fix order of arguments for hlist_add_after(_rcu)

From: Greg KH
Date: Fri Jun 06 2014 - 11:50:22 EST


On Fri, Jun 06, 2014 at 11:42:23AM +0200, Ken Helias wrote:
> 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.
>
> Also the naming of the arguments in hlist_add_after was confusing. It was
> changed to use the same names as hlist_add_after_rcu.
>
> Signed-off-by: Ken Helias <kenhelias@xxxxxxxxxxx>
> Cc: David Airlie <airlied@xxxxxxxx>
> Cc: Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>
> Cc: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>
> Cc: Bruce Allan <bruce.w.allan@xxxxxxxxx>
> Cc: Carolyn Wyborny <carolyn.wyborny@xxxxxxxxx>
> Cc: Don Skidmore <donald.c.skidmore@xxxxxxxxx>
> Cc: Greg Rose <gregory.v.rose@xxxxxxxxx>
> Cc: Alex Duyck <alexander.h.duyck@xxxxxxxxx>
> Cc: John Ronciak <john.ronciak@xxxxxxxxx>
> Cc: Mitch Williams <mitch.a.williams@xxxxxxxxx>
> Cc: Linux NICS <linux.nics@xxxxxxxxx>
> Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>
> Cc: Dipankar Sarma <dipankar@xxxxxxxxxx>
> Cc: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
> Cc: Marek Lindner <mareklindner@xxxxxxxxxxxxx>
> Cc: Simon Wunderlich <sw@xxxxxxxxxxxxxxxxxx>
> Cc: Antonio Quartulli <antonio@xxxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>
> Cc: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>
> Cc: James Morris <jmorris@xxxxxxxxx>
> Cc: Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxx>
> Cc: Patrick McHardy <kaber@xxxxxxxxx>
> Cc: Steffen Klassert <steffen.klassert@xxxxxxxxxxx>
> Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
> Cc: e1000-devel@xxxxxxxxxxxxxxxxxxxxx
> Cc: netdev@xxxxxxxxxxxxxxx
> Cc: devel@xxxxxxxxxxxxxxxxxxxx
> Cc: linux-fsdevel@xxxxxxxxxxxxxxx
> Cc: b.a.t.m.a.n@xxxxxxxxxxxxxxxxxxx
> Cc: bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
> ---
> Patch based on "Add linux-next specific files for 20140606"
>
> drivers/gpu/drm/drm_hashtab.c | 2 +-
> drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +-
> drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 2 +-
> drivers/staging/lustre/lustre/libcfs/hash.c | 4 ++--
> fs/namespace.c | 2 +-
> fs/notify/inode_mark.c | 2 +-
> fs/notify/vfsmount_mark.c | 2 +-
> include/linux/list.h | 12 ++++++------
> include/linux/rculist.h | 6 +++---
> net/batman-adv/fragmentation.c | 2 +-
> net/bridge/br_multicast.c | 2 +-
> net/ipv4/fib_trie.c | 2 +-
> net/ipv6/addrlabel.c | 2 +-
> net/xfrm/xfrm_policy.c | 4 ++--
> 14 files changed, 23 insertions(+), 23 deletions(-)


drivers/staging/ portion:
Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/