Yes, It's happen in the mainline kernel. I pulled the latest code and habitually compiled samples/bpf, $ git remote get-url origin git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git $ make -C samples/bpf and the compilation error occurred. I applied this patch and can fix this compilation error.