[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYu4PPE6_91mzor0bW7RSzBDNJ3xqqgeeK-jR1jokmhYOQ@mail.gmail.com>
Date: Thu, 24 Feb 2022 20:01:10 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: dri-devel@...ts.freedesktop.org,
open list <linux-kernel@...r.kernel.org>,
Linux-Next Mailing List <linux-next@...r.kernel.org>
Cc: David Airlie <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
Lyude Paul <lyude@...hat.com>,
Ville Syrjälä <ville.syrjala@...ux.intel.com>,
Jani Nikula <jani.nikula@...el.com>,
Dave Airlie <airlied@...hat.com>,
Douglas Anderson <dianders@...omium.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Stephen Rothwell <sfr@...b.auug.org.au>,
lkft-triage@...ts.linaro.org
Subject: gpu/drm/dp/drm_dp.c:59:27: warning: array subscript 10 is outside
array bounds of 'const u8[6]'
[Please ignore this email if it is already reported]
Linux next-20220223 arch riscv build warnings noticed.
Build configs:
- riscv-gcc-9-defconfig
- riscv-gcc-9-defconfig
- riscv-gcc-10-defconfig
- riscv-gcc-11-defconfig
metadata:
git_ref: master
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: d4a0ae62a277377de396850ed4b709b6bd9b7326
git_describe: next-20220223
arch: riscv
toolchain: gcc-11
Build warnings:
-----------
drivers/gpu/drm/dp/drm_dp.c: In function
'drm_dp_get_adjust_request_post_cursor':
drivers/gpu/drm/dp/drm_dp.c:59:27: warning: array subscript 10 is
outside array bounds of 'const u8[6]' {aka 'const unsigned char[6]'}
[-Warray-bounds]
59 | return link_status[r - DP_LANE0_1_STATUS];
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/dp/drm_dp.c:210:51: note: while referencing 'link_status'
210 | u8 drm_dp_get_adjust_request_post_cursor(const u8
link_status[DP_LINK_STATUS_SIZE],
|
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Target '__all' not remade because of errors.
Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
Steps to reproduce:
------------------
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch riscv --toolchain gcc-11
--kconfig defconfig
--
Linaro LKFT
https://lkft.linaro.org
[1] https://builds.tuxbuild.com/25XO99nwfQgKrWKz4yfBPYw0wyU/
Powered by blists - more mailing lists