[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 <[email protected]>
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/