<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:ken@kenjo.org" title="kenneth johansson <ken@kenjo.org>"> <span class="fn">kenneth johansson</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - compile error bandwidth_calcs.c : array subscript is above array bounds [-Werror=array-bounds]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97759">bug 97759</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Hardware</td>
<td>Other
</td>
<td>x86-64 (AMD64)
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - compile error bandwidth_calcs.c : array subscript is above array bounds [-Werror=array-bounds]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97759#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - compile error bandwidth_calcs.c : array subscript is above array bounds [-Werror=array-bounds]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97759">bug 97759</a>
from <span class="vcard"><a class="email" href="mailto:ken@kenjo.org" title="kenneth johansson <ken@kenjo.org>"> <span class="fn">kenneth johansson</span></a>
</span></b>
<pre> results->blackout_recovery_time =
bw_max2(
results->blackout_recovery_time,
bw_div(
(bw_add(
bw_mul(
bw_div(
bw_mul(
results->display_bandwidth[k],
results->useful_bytes_per_request[k]),
results->bytes_per_request[k]),
vbios->blackout_duration),
bw_sub(
bw_div(
bw_mul(
bw_mul(
bw_mul(
(bw_add(
bw_add(
bw_mul(
bw_int_to_fixed(
2),
vbios->mcifwrmc_urgent_latency),
results->dmif_burst_time[i][j]),
results->mcifwr_burst_time[results->y_clk_level][results->sclk_level])),
results->dispclk),
bw_int_to_fixed(
results->bytes_per_pixel[k])),
results->lines_interleaved_in_mem_access[k]),
results->latency_hiding_lines[k]),
results->adjusted_data_buffer_size[k]))),
(bw_sub(
bw_div(
bw_mul(
bw_mul(
results->dispclk,
bw_int_to_fixed(
results->bytes_per_pixel[k])),
results->lines_interleaved_in_mem_access[k]),
results->latency_hiding_lines[k]),
bw_div(
bw_mul(
results->display_bandwidth[k],
results->useful_bytes_per_request[k]),
results->bytes_per_request[k])))));</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>