aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-05-09 16:26:34 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-12 03:15:43 +0200
commitd3207b13f84de30e71f7b5dc83d5d1d9e53e7191 (patch)
tree4edcb58fe8d8bd3fa1de415106fcff5392df7edc /target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts
parent150508e47c90918650f2b7cca00c17f4cab86422 (diff)
downloadupstream-d3207b13f84de30e71f7b5dc83d5d1d9e53e7191.tar.gz
upstream-d3207b13f84de30e71f7b5dc83d5d1d9e53e7191.tar.bz2
upstream-d3207b13f84de30e71f7b5dc83d5d1d9e53e7191.zip
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>
Diffstat (limited to 'target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts')
0 files changed, 0 insertions, 0 deletions