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 kobject_set_name() arguments
@ 2011-05-29 13:05 Antonio Quartulli
  2011-05-29 14:00 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2011-05-29 13:05 UTC (permalink / raw)
  To: B.A.T.M.A.N

Compiling against kernel version <2.6.25 was failing due to wrong
parameters.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
 compat.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compat.h b/compat.h
index 6842a26..0f0e66e 100644
--- a/compat.h
+++ b/compat.h
@@ -131,7 +131,7 @@ static inline struct kobject *kobject_create_and_add(const char *name,
 	if (!kobj)
 		return NULL;
 
-	kobject_set_name(kobj, name);
+	kobject_set_name(kobj, "%s", name);
 	kobj->ktype = &ktype_bat_wrapper;
 	kobj->kset = NULL;
 	kobj->parent = parent;
-- 
1.7.3.4


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

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: correct kobject_set_name() arguments
  2011-05-29 13:05 [B.A.T.M.A.N.] [PATCH] batman-adv: correct kobject_set_name() arguments Antonio Quartulli
@ 2011-05-29 14:00 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2011-05-29 14:00 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Sunday 29 May 2011 15:05:34 Antonio Quartulli wrote:
> Compiling against kernel version <2.6.25 was failing due to wrong
> parameters.

Applied in revision 405ca1d.

Thanks,
Marek

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-29 13:05 [B.A.T.M.A.N.] [PATCH] batman-adv: correct kobject_set_name() arguments Antonio Quartulli
2011-05-29 14:00 ` Marek Lindner

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