https://bugs.freedesktop.org/show_bug.cgi?id=106225
--- Comment #28 from Francisco Pina Martins f.pinamartins@gmail.com --- Currently "amd-staging-drm-next" fails to build for me, with the following error:
``` ../lib/str_error_r.c: In function ‘str_error_r’: ../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict] snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d", errnum, buf, buflen, err); ^~~~~~~~ ```
From what I was able to research, it seems to be missing a patch that was
applied in March (https://patchwork.kernel.org/patch/10291671/). But maybe I'm doing something wrong here, since I'm not very experienced.
Or did you mean for me to try building linux-4.16, and patch it with commit "a0f282dcdb1775cbcc0a151570fc01c0aae5ca0f" from the "amd-staging-drm-next" tree?