From: Greg Kroah-Hartman Date: Thu, 29 Nov 2007 23:32:47 +0000 (-0500) Subject: kobject: fix up kobject_set_name to use kvasprintf X-Git-Tag: v2.6.25-rc1~1243^2~159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=663a47430b361f863b515752a97166a7a4b92d35;p=pandora-kernel.git kobject: fix up kobject_set_name to use kvasprintf Kay pointed out that kobject_set_name was being very stupid, doing two allocations for every call, when it should just be using the kernel function kvasprintf() instead. This change adds the internal kobject_set_name_vargs() function, which other follow-on patches will be using. Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed