diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-11 05:37:18 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-11 22:39:39 (GMT) |
commit | c48ea60359a303f3faf5991205b0cdb58dfe6eed (patch) | |
tree | ccccfdc5ff0b88d83d7b4047d819fba2d41b6d4b /drivers/scsi/hosts.c | |
parent | 5ab7ffea520948115a51a9931e1bb4c818aa8e35 (diff) | |
download | linux-fsl-qoriq-c48ea60359a303f3faf5991205b0cdb58dfe6eed.tar.xz |
[PATCH] PM: use kobject_name() to access kobject names
Noone should use kobj.name directly since it may contain garbage.
Objects with longer names have them stored in separately allocated
memory pointed to by kobj->k_name.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/hosts.c')
0 files changed, 0 insertions, 0 deletions