openwrt/package/kernel/lantiq/ltq-atm
Christian Marangi 0736cc0e67
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>
2023-05-12 03:15:46 +02:00
..
patches kernel: ltq-atm: add patch fixing compilation warning for ltq_atm 2023-05-12 03:15:46 +02:00
src ltq-atm/ltq-ptm: add kernel 5.10 compatiblity 2021-04-12 23:23:09 +02:00
Makefile ltq-atm/ltq-ptm: avoid unnecessary build dependencies 2022-05-04 01:38:04 +01:00