[next] warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=]

From: Naresh Kamboju
Date: Wed Mar 02 2022 - 01:44:18 EST


Following warnings noticed while building Linux next-20220301
for arm KASAN builds [1].

Build warnings:
lib/zstd/common/entropy_common.c: In function 'HUF_readStats':
lib/zstd/common/entropy_common.c:257:1: warning: the frame size of
1120 bytes is larger than 1024 bytes [-Wframe-larger-than=]
257 | }
| ^
net/ipv4/tcp.c: In function 'do_tcp_getsockopt.constprop':
net/ipv4/tcp.c:4272:1: warning: the frame size of 1152 bytes is larger
than 1024 bytes [-Wframe-larger-than=]
4272 | }
| ^
fs/select.c: In function 'do_sys_poll':
fs/select.c:1045:1: warning: the frame size of 1264 bytes is larger
than 1024 bytes [-Wframe-larger-than=]
1045 | }
| ^
drivers/usb/host/xhci.c: In function 'xhci_reserve_bandwidth':
drivers/usb/host/xhci.c:2877:1: warning: the frame size of 1056 bytes
is larger than 1024 bytes [-Wframe-larger-than=]
2877 | }
| ^
drivers/media/dvb-frontends/mxl5xx.c: In function 'config_ts':
drivers/media/dvb-frontends/mxl5xx.c:1566:1: warning: the frame size
of 1224 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1566 | }
| ^


Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>


Steps to reproduce:
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake

tuxmake --runtime podman --target-arch arm --toolchain gcc-10
--kconfig https://builds.tuxbuild.com/25mUEFdMf8eGt8sUkh7JnHahLIW/config


--
Linaro LKFT
https://lkft.linaro.org

[1] https://builds.tuxbuild.com/25mUEFdMf8eGt8sUkh7JnHahLIW/