diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-11 08:18:56 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:46 +0200 |
commit | 0736cc0e67fb4c5450e62a4f857322b42e0fbc44 (patch) | |
tree | 9909753bde9323cc7cd9bd986b03399ead100a7b /include/image-commands.mk | |
parent | f1a27441827fc2886a97b336fd7e78ded4b1ff7f (diff) | |
download | openwrt-0736cc0e67fb4c5450e62a4f857322b42e0fbc44.tar.gz openwrt-0736cc0e67fb4c5450e62a4f857322b42e0fbc44.tar.bz2 openwrt-0736cc0e67fb4c5450e62a4f857322b42e0fbc44.zip |
kernel: ltq-atm: add patch fixing compilation warning for ltq_atm
Fix compilation warning caused by copy_from_user ret not handled.
Fix compilation warning:
/__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_ase/ltq-atm-ase/ltq-atm/ltq_atm.c: In function 'ppe_ioctl':
/__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_ase/ltq-atm-ase/ltq-atm/ltq_atm.c:341:17: error: ignoring return value of 'copy_from_user' declared with attribute 'warn_unused_result' [-Werror=unused-result]
341 | copy_from_user(&mib_vcc, arg, sizeof(mib_vcc));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'include/image-commands.mk')
0 files changed, 0 insertions, 0 deletions