openwrt/package
Christian Marangi d3207b13f8
kernel: ltq-adsl-mei: fix compilation warning for copy_from_user ret
Fix compilation warning for copy_from_user ret value not handled.
Fix compilation warning:
/__w/openwrt/openwrt/openwrt/build_dir/target-mips_mips32_musl/linux-lantiq_ase/ltq-adsl-mei-ase/ltq-adsl-mei/drv_mei_cpe.c: In function 'DSL_BSP_FWDownload':
/__w/openwrt/openwrt/openwrt/build_dir/target-mips_mips32_musl/linux-lantiq_ase/ltq-adsl-mei-ase/ltq-adsl-mei/drv_mei_cpe.c:1623:17: error: ignoring return value of 'copy_from_user' declared with attribute 'warn_unused_result' [-Werror=unused-result]
 1623 |                 copy_from_user ((char *) &img_hdr_tmp, buf, sizeof (img_hdr_tmp));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/__w/openwrt/openwrt/openwrt/build_dir/target-mips_mips32_musl/linux-lantiq_ase/ltq-adsl-mei-ase/ltq-adsl-mei/drv_mei_cpe.c:1701:17: error: ignoring return value of 'copy_from_user' declared with attribute 'warn_unused_result' [-Werror=unused-result]
 1701 |                 copy_from_user (mem_ptr, buf + nRead, nCopy);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:43 +02:00
..
base-files base-files: Do not break on non-eth ports 2023-05-09 22:54:38 +02:00
boot ramips: add support for Linksys RE7000 2023-05-09 11:52:53 +02:00
devel gperf: add from packages feed 2023-05-04 06:07:29 +02:00
firmware ls-rcw: Add ls1028ardb support 2023-05-07 14:50:50 +02:00
kernel kernel: ltq-adsl-mei: fix compilation warning for copy_from_user ret 2023-05-12 03:15:43 +02:00
libs gettext-full: bootstrap to local gnulib source 2023-05-04 06:07:31 +02:00
network umbim: allow forcing DHCP/DHCPv6 configuration 2023-05-07 14:36:58 +02:00
system treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
utils busybox: turn on BUSYBOX_DEFAULT_ASH_RANDOM_SUPPORT for having $RANDOM 2023-04-25 22:01:20 +02:00
Makefile build: generate index.json 2023-05-09 23:56:49 +02:00