From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 97759] compile error bandwidth_calcs.c : array subscript is
above array bounds [-Werror=array-bounds]
Date: Sat, 10 Sep 2016 00:30:01 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0026046170=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 0089B6E2E9
for ; Sat, 10 Sep 2016 00:30:07 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0026046170==
Content-Type: multipart/alternative; boundary="14734674070.553c1C.9264";
charset="UTF-8"
--14734674070.553c1C.9264
Date: Sat, 10 Sep 2016 00:30:06 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D97759
Bug ID: 97759
Summary: compile error bandwidth_calcs.c : array subscript is
above array bounds [-Werror=3Darray-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]=20
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../dal/dc/calcs/ba=
ndwidth_calcs.o
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../dal/dc/calcs/ba=
ndwidth_calcs.c:
In function =E2=80=98calculate_bandwidth=E2=80=99:
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../dal/dc/calcs/ba=
ndwidth_calcs.c:3162:7:
error: array subscript is above array bounds [-Werror=3Darray-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 t=
hat
is implemented in 43 lines it's the actual call that is 43 lines of code.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14734674070.553c1C.9264
Date: Sat, 10 Sep 2016 00:30:07 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| Bug ID |
97759
|
| Summary |
compile error bandwidth_calcs.c : array subscript is above ar=
ray bounds [-Werror=3Darray-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 ubu=
ntu 16.10
(Yakkety Yak)
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/make.log
CC [M]=20
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../dal/dc/calcs/ba=
ndwidth_calcs.o
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../dal/dc/calcs/ba=
ndwidth_calcs.c:
In function =E2=80=98calculate_bandwidth=E2=80=99:
/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../dal/dc/calcs/ba=
ndwidth_calcs.c:3162:7:
error: array subscript is above array bounds [-Werror=3Darray-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 t=
hat
is implemented in 43 lines it's the actual call that is 43 lines of code.=
pre>
You are receiving this mail because:
- You are the assignee for the bug.
=
--14734674070.553c1C.9264--
--===============0026046170==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0026046170==--