[2/2] batman-adv: fix SIF show / store uint regression
Commit Message
Regression was introduced with commit: 36709939
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
---
bat_sysfs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Comments
On Sunday 10 June 2012 22:05:41 Marek Lindner wrote:
> Regression was introduced with commit: 36709939
>
> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Thanks for the fix. This part was in the code that I wanted to remove (but
you need in your next patch).
Acked-by: Sven Eckelmann <sven@narfation.org>
On Monday, June 11, 2012 13:49:35 Sven Eckelmann wrote:
> On Sunday 10 June 2012 22:05:41 Marek Lindner wrote:
> > Regression was introduced with commit: 36709939
> >
> >
> >
> > Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
>
> Thanks for the fix. This part was in the code that I wanted to remove (but
> you need in your next patch).
>
> Acked-by: Sven Eckelmann <sven@narfation.org>
Applied in revision ea7260d.
Regards,
Marek
@@ -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; \
}