summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2007-11-30 00:32:47 +0100
committerGreg Kroah-Hartman2008-01-25 05:40:09 +0100
commit663a47430b361f863b515752a97166a7a4b92d35 (patch)
treea2238877bd943666b465d704166ac3fadb1f3903 /ipc
parentkobject: convert icom to use kref, not kobject (diff)
downloadkernel-qcow2-linux-663a47430b361f863b515752a97166a7a4b92d35.tar.gz
kernel-qcow2-linux-663a47430b361f863b515752a97166a7a4b92d35.tar.xz
kernel-qcow2-linux-663a47430b361f863b515752a97166a7a4b92d35.zip
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 <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions