int kset_add (struct kset * k);
Simply, this adds the kset's embedded kobject to the hierarchy. We also try to make sure that the kset's embedded kobject has a parent before it is added. We only care if the embedded kobject is not part of a kset itself, since kobject_add assigns a parent in that case. If that is the case, and the kset has a controlling subsystem, then we set the kset's parent to be said subsystem.