diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-09 23:32:16 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:44 +0200 |
commit | 220739aa0d2fd6e50a4ac74e8ef71ff9f3bfb116 (patch) | |
tree | bee0a39e7d0ea94942450e9c7121b0803f552a36 /target/linux/generic/backport-5.10/723-v5.12-net-dsa-move-switchdev-event-implementation-under-th.patch | |
parent | f3fc9ac1aa99165b4b9b88db6c2274c8e90b4c18 (diff) | |
download | upstream-220739aa0d2fd6e50a4ac74e8ef71ff9f3bfb116.tar.gz upstream-220739aa0d2fd6e50a4ac74e8ef71ff9f3bfb116.tar.bz2 upstream-220739aa0d2fd6e50a4ac74e8ef71ff9f3bfb116.zip |
kernel: lantiq: vrx518_tc: add patch fix compilation warning for atm_tc
Add patch fixing compilation warning for atm_tc module.
Fix compilation warning:
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/vrx518_tc_drv-ugw_8.5.2.10/dcdp/atm_tc.c: In function 'print_datetime':
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/vrx518_tc_drv-ugw_8.5.2.10/dcdp/atm_tc.c:768:32: error: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
768 | snprintf(buffer, sizeof(buffer), "%s.%06d", tmbuf, (int)datetime->tv_nsec / 1000);
| ^
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/generic/backport-5.10/723-v5.12-net-dsa-move-switchdev-event-implementation-under-th.patch')
0 files changed, 0 insertions, 0 deletions