Name: Anonymous 2016-12-29 5:44
I have smoked a significant amount of 420 but still can't understand how this macro function works:
https://github.com/torvalds/linux/blob/master/include/linux/kernel.h
#define container_of(ptr, type, member) ({ \
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
https://github.com/torvalds/linux/blob/master/include/linux/kernel.h