aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm47xx
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-05-06 12:41:46 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-12 03:15:36 +0200
commitcbf299c86c11af950f4dbeec1b869cc51c6ea035 (patch)
tree1a6d7b15b1250d01ba66d3cca05e1aff0500b004 /target/linux/bcm47xx
parent0e2a3322529dae1fe5d3706c317c4217b7403619 (diff)
downloadupstream-cbf299c86c11af950f4dbeec1b869cc51c6ea035.tar.gz
upstream-cbf299c86c11af950f4dbeec1b869cc51c6ea035.tar.bz2
upstream-cbf299c86c11af950f4dbeec1b869cc51c6ea035.zip
mac80211: ath9k: handle error from copy_to_user in read_file_eeprom
Handle error from copy_to_user in read_file_eeprom. Fix compilarion warning: /__w/openwrt/openwrt/openwrt/build_dir/target-x86_64-openwrt-linux-musl_musl/linux-x86_64/backports-6.1.24/drivers/net/wireless/ath/ath9k/debug.c: In function 'read_file_eeprom': /__w/openwrt/openwrt/openwrt/build_dir/target-x86_64-openwrt-linux-musl_musl/linux-x86_64/backports-6.1.24/drivers/net/wireless/ath/ath9k/debug.c:1451:17: error: ignoring return value of 'copy_to_user' declared with attribute 'warn_unused_result' [-Werror=unused-result] 1451 | copy_to_user(user_buf, from, bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/bcm47xx')
0 files changed, 0 insertions, 0 deletions