I did not see any failures of other modules with this change, but I'm
not completely certain there are no cases that it breaks.
Signed-off-by: Cody P Schafer <dev@codyps.com>
canary, tcon_container_of_((member_ptr), \
tcon_offset((x), canary)))
-static inline void *tcon_container_of_(void *member_ptr, size_t offset)
+static inline void *tcon_container_of_(const void *member_ptr, size_t offset)
{
return member_ptr ? (char *)member_ptr - offset : NULL;
}