diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-06-13 09:53:48 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-06-13 09:53:48 +1000 |
commit | 2370f92a31cebbc8f5a72af7219aa8fb3d64180e (patch) | |
tree | ccb03b1a68f906af6977c17cdc94e3f71f746bf3 /Documentation | |
parent | 65bcd52ec3d46f498dfd2d09d6fbc9b7c625028e (diff) | |
parent | 21765aa091fba23ff2c7e0577493a46fcf9b5f97 (diff) |
Merge branch 'quilt/driver-core.current'
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kobject.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt index 51a8021ee532..f5d2aad65a67 100644 --- a/Documentation/kobject.txt +++ b/Documentation/kobject.txt @@ -118,6 +118,10 @@ the name of the kobject, call kobject_rename(): int kobject_rename(struct kobject *kobj, const char *new_name); +Note kobject_rename does perform any locking or have a solid notion of +what names are valid so the provide must provide their own sanity checking +and serialization. + There is a function called kobject_set_name() but that is legacy cruft and is being removed. If your code needs to call this function, it is incorrect and needs to be fixed. |