<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks for the fix.<br>
<br>
We've moved to logging functionality more closely aligned with the
rest of DRM and dropped logger.c a while back.<br>
<br>
Harry<br>
<br>
<div class="moz-cite-prefix">On 2018-09-05 02:43 PM, Ján Kosterec
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANFv0+2=yn983rcLizDEiuDSND9rE4BZuGBeHwZ6J39CC_kgkw@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<pre class="gmail-bz_comment_text">amdgpu driver fails compilation when compiling with CONFIG_FORTIFY_SOURCE kernel option:
In function ‘memmove’,
inlined from ‘append_entry’ at drivers/gpu/drm/amd/amdgpu/../display/dc/basics/logger.c:258:2,
inlined from ‘dm_logger_append_va.part.5’ at drivers/gpu/drm/amd/amdgpu/../display/dc/basics/logger.c:349:4:
./include/linux/string.h:356:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter
__read_overflow2();
^~~~~~~~~~~~~~~~~~
I have attached a patch which resolves this problem.</pre>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div>
<div>Regards,</div>
<div>Jan</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
amd-gfx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a>
</pre>
</blockquote>
<br>
</body>
</html>