The following commit has been merged in the next branch: commit ea7260d63bbb48df8034e2f30374211cd7f025de Author: Marek Lindner lindner_marek@yahoo.de Date: Sun Jun 10 22:05:41 2012 +0800
batman-adv: fix SIF show / store uint regression
Regression was introduced with commit: 36709939
Signed-off-by: Marek Lindner lindner_marek@yahoo.de Acked-by: Sven Eckelmann sven@narfation.org
diff --git a/bat_sysfs.c b/bat_sysfs.c index e1ba286..ca0bdda 100644 --- a/bat_sysfs.c +++ b/bat_sysfs.c @@ -139,7 +139,7 @@ ssize_t batadv_store_##_name(struct kobject *kobj, \ _post_func, attr, \ &hard_iface->_name, net_dev); \ \ - hardif_free_ref(hard_iface); \ + batadv_hardif_free_ref(hard_iface); \ return length; \ }
@@ -157,7 +157,7 @@ ssize_t batadv_show_##_name(struct kobject *kobj, \ \ length = sprintf(buff, "%i\n", atomic_read(&hard_iface->_name));\ \ - hardif_free_ref(hard_iface); \ + batadv_hardif_free_ref(hard_iface); \ return length; \ }