Messages in this thread | | | Date | Thu, 5 Jul 2012 23:01:20 +0800 | Subject | Re: [PATCH] lib/kobject: simplify function kobject_init | From | Cong Wang <> |
| |
On Thu, Jul 5, 2012 at 3:58 PM, Dong Hao <haodong@linux.vnet.ibm.com> wrote: > if (kobj->state_initialized) { > /* do not error out as sometimes we can recover */ > - printk(KERN_ERR "kobject (%p): tried to init an initialized " > - "object, something is seriously wrong.\n", kobj); > - dump_stack(); > + err_str = "tried to init an initialized object, something is seriously wrong."; > + goto error;
You missed the comment:
/* do not error out as sometimes we can recover */
| |