2022-03-02 07:30:50

by Naresh Kamboju

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

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


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/


2022-03-02 19:03:16

by Matthew Wilcox

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

On Wed, Mar 02, 2022 at 12:13:49PM +0530, Naresh Kamboju wrote:
> Following warnings noticed while building Linux next-20220301
> for arm KASAN builds [1].

Are any of them actually new? They all look pretty familiar to me,
and they don't have just one cause; they each need to be addressed
individually (if they need to be addressed at all).