[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]

 



Bug ID 97759
Summary compile error bandwidth_calcs.c : array subscript is above array bounds [-Werror=array-bounds]
Product DRI
Version XOrg git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu-pro
Assignee dri-devel@lists.freedesktop.org
Reporter ken@kenjo.org

when trying to install amdgpu-pro_16.30.3-315407.tar.xz on ubuntu 16.10
(Yakkety Yak)

/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/make.log


  CC [M] 
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../dal/dc/calcs/bandwidth_calcs.o
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../dal/dc/calcs/bandwidth_calcs.c:
In function ‘calculate_bandwidth’:
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../dal/dc/calcs/bandwidth_calcs.c:3162:7:
error: array subscript is above array bounds [-Werror=array-bounds]
       bw_max2(
       ^~~~~~~~
        results->blackout_recovery_time,

I looked at the code and gave up before even trying to understand it. the
function call or macro was covering 43 lines. That is it's not a function that
is implemented in 43 lines it's the actual call that is 43 lines of code.


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