diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-09 23:32:29 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:44 +0200 |
commit | d088282ddd88dfaba222b60d9db9f13a87948865 (patch) | |
tree | 82123e48de711ecd71f8dbb63130907d13125f05 /package/system/opkg | |
parent | 220739aa0d2fd6e50a4ac74e8ef71ff9f3bfb116 (diff) | |
download | upstream-d088282ddd88dfaba222b60d9db9f13a87948865.tar.gz upstream-d088282ddd88dfaba222b60d9db9f13a87948865.tar.bz2 upstream-d088282ddd88dfaba222b60d9db9f13a87948865.zip |
kernel: lantiq: vrx518_tc: add patch fix compilation warning for ptm_tc
Alloc MIB struct dynamically instead to fix compilation warning for
stack limit.
Fix compilation warning:
/__w/openwrt/openwrt/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_chromium/vrx518_tc_drv-ugw_8.5.2.10/dcdp/ptm_tc.c: In function 'ptm_tc_get_stats':
/__w/openwrt/openwrt/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_chromium/vrx518_tc_drv-ugw_8.5.2.10/dcdp/ptm_tc.c:463:1: error: the frame size of 1032 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
463 | }
| ^
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'package/system/opkg')
0 files changed, 0 insertions, 0 deletions