<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Kernel panic after modesetting (not on every boot) on ryzen 5 2400g"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106225#c28">Comment # 28</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Kernel panic after modesetting (not on every boot) on ryzen 5 2400g"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106225">bug 106225</a>
from <span class="vcard"><a class="email" href="mailto:f.pinamartins@gmail.com" title="Francisco Pina Martins <f.pinamartins@gmail.com>"> <span class="fn">Francisco Pina Martins</span></a>
</span></b>
<pre>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 (<a href="https://patchwork.kernel.org/patch/10291671/">https://patchwork.kernel.org/patch/10291671/</a>). 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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>