diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-08 21:11:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-08 21:11:47 -0400 |
commit | 837525e344298335ea56c3b8c9ca7abbc97f0285 (patch) | |
tree | e7afd356670edab6f3550fa9cc0eb9c926b590df /lib | |
parent | 217397d7d267f832081169016e1ab66691a13e08 (diff) | |
parent | 87d37a4f470834223fc8a243af002998bdb5b886 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6:
firmware: remove orphaned Email
kobject: use the proper printk level for kobject error
Driver core: kill unused code
Driver core: keep PHYSDEV for old struct class_device
update Documentation/driver-model/platform.txt
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kobject.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kobject.c b/lib/kobject.c index fc5f3f6e7329..ac1520651b9b 100644 --- a/lib/kobject.c +++ b/lib/kobject.c | |||
@@ -202,14 +202,14 @@ int kobject_shadow_add(struct kobject * kobj, struct dentry *shadow_parent) | |||
202 | 202 | ||
203 | /* be noisy on error issues */ | 203 | /* be noisy on error issues */ |
204 | if (error == -EEXIST) | 204 | if (error == -EEXIST) |
205 | printk("kobject_add failed for %s with -EEXIST, " | 205 | printk(KERN_ERR "kobject_add failed for %s with " |
206 | "don't try to register things with the " | 206 | "-EEXIST, don't try to register things with " |
207 | "same name in the same directory.\n", | 207 | "the same name in the same directory.\n", |
208 | kobject_name(kobj)); | 208 | kobject_name(kobj)); |
209 | else | 209 | else |
210 | printk("kobject_add failed for %s (%d)\n", | 210 | printk(KERN_ERR "kobject_add failed for %s (%d)\n", |
211 | kobject_name(kobj), error); | 211 | kobject_name(kobj), error); |
212 | dump_stack(); | 212 | dump_stack(); |
213 | } | 213 | } |
214 | 214 | ||
215 | return error; | 215 | return error; |