We should not error here, just ignore it.
There are struct ops which have nested structs such as struct tcp_congestion_ops. When working with a definition copied from sources or vmlinux.h, you hit this.
Originally posted by @dylandreimerink in #1845 (comment)
The fix is to make the copy function recursive.