diff options
| author | Greg Kroah-Hartman <[email protected]> | 2007-11-29 18:32:47 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2008-01-24 20:40:09 -0800 |
| commit | 663a47430b361f863b515752a97166a7a4b92d35 (patch) | |
| tree | a2238877bd943666b465d704166ac3fadb1f3903 /include/linux/sysdev.h | |
| parent | 15f2bbb28e96e20149548926e5b08551ba140b14 (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/sysdev.h')
0 files changed, 0 insertions, 0 deletions