Re: [PATCH] ceph: fix symbol versioning for ceph_monc_do_statfs

From: Michal Marek
Date: Fri Aug 26 2016 - 08:40:41 EST

On 2016-06-13 15:04, Arnd Bergmann wrote:
> The genksyms helper in the kernel cannot parse a type definition
> like "typeof(((type *)0)->keyfld)" that is used in the DEFINE_RB_FUNCS
> helper, causing the following EXPORT_SYMBOL() statement to be ignored
> when computing the crcs, and triggering a warning about this:
> WARNING: "ceph_monc_do_statfs" [fs/ceph/ceph.ko] has no CRC

FYI, Nick fixed the genksyms state machine to cope with this syntax. See

5c6f3225d00d kbuild: Regenerate genksyms lexer
4fab91605a6b kbuild: genksyms fix for typeof handling

in today's linux-next. So the workaround can eventually be reverted.