From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.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 [thread overview]
Message-ID: <bug-97759-502@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1473 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97759
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:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2797 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2016-09-10 0:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-10 0:30 bugzilla-daemon [this message]
2016-09-10 0:35 ` [Bug 97759] compile error bandwidth_calcs.c : array subscript is above array bounds [-Werror=array-bounds] bugzilla-daemon
2016-09-10 0:37 ` bugzilla-daemon
2018-12-04 16:36 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-97759-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox