[Bug 97759] compile error bandwidth_calcs.c : array subscript is above array bounds [-Werror=array-bounds]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



changed bug 97759
What Removed Added
Hardware Other x86-64 (AMD64)

Comment # 1 on bug 97759 from
                                        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])))));


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux