Hi Arun and Dave, On 3 October 2010 22:22, Dave Hylands <dhylands@xxxxxxxxx> wrote: > Hi Vimal, > struct my_work_struct *my_ws = container_of( ws, struct > my_work_struct, work ); Yes, container_of was exactly what I needed. Thanks a lot! Regards, -- Vimal -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ