Adding a kset in a kset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I am working with kobject, kset and sysfs. I need, to show a complexe hierarchie, to add some kset in a kset. For that I use  kobject embedded in the kset:

child_kset = kset_create_and_add(name, NULL, &parent_kset->kobj);

This is working fine but the child kset created is not added in the child list of the parent kset. When I add a kobject in a kset I set the kset field of the kobject for that, but I can't touch the kobject embedded in a kset...

There is another technics for that ? Any help is welecome.

Thanks in advance

Patrick


      __________________________________________________________________________________________________
Ne pleurez pas si votre Webmail ferme ! Récupérez votre historique sur Yahoo! Mail ! http://fr.docs.yahoo.com/mail/transfert_mails.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux