I tried to reproduce it with a small testcase and I could reproduce the error with -fcf-protection and not without (where I get a warning that the nocf_check attribute is ignored b/c of no flag).
- [PATCH] selftests/seccomp: fix pointer type mismatch in UPR... Nirbhay Sharma
- Re: [PATCH] selftests/seccomp: fix pointer type mismat... Jiri Olsa
- Re: [PATCH] selftests/seccomp: fix pointer type mi... Sam James
- Re: [PATCH] selftests/seccomp: fix pointer type mi... Nirbhay Sharma
- [PATCH v2] selftests/seccomp: fix pointer type mis... Nirbhay Sharma

