linux_dsm_epyc7002/drivers/net/wireless/iwlegacy
Stephen Boyd 8220ba3e2e iwlegacy: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning
Enabling DEBUG_STRICT_USER_COPY_CHECKS causes the following
warning:

In file included from arch/x86/include/asm/uaccess.h:573,
                 from include/net/checksum.h:25,
                 from include/linux/skbuff.h:28,
                 from drivers/net/wireless/iwlegacy/iwl-4965-rs.c:28:
In function 'copy_from_user',
    inlined from 'iwl4965_rs_sta_dbgfs_scale_table_write' at
    drivers/net/wireless/iwlegacy/iwl-4965-rs.c:2616:
arch/x86/include/asm/uaccess_64.h:65:
warning: call to 'copy_from_user_overflow' declared with
attribute warning: copy_from_user() buffer size is not provably
correct

presumably due to buf_size being signed causing GCC to fail to
see that buf_size can't become negative.

Cc: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-05-16 14:10:38 -04:00
..
iwl3945-base.c iwlegacy: remove sync_cmd_mutex 2011-04-29 15:36:15 -04:00
iwl4965-base.c iwlegacy: remove sync_cmd_mutex 2011-04-29 15:36:15 -04:00
iwl-3945-debugfs.c
iwl-3945-debugfs.h
iwl-3945-fh.h
iwl-3945-hw.h iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945.c
iwl-3945.h
iwl-4965-calib.c
iwl-4965-calib.h
iwl-4965-debugfs.c
iwl-4965-debugfs.h
iwl-4965-eeprom.c
iwl-4965-hw.h iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-4965-led.c
iwl-4965-led.h
iwl-4965-lib.c iwlegacy: remove scan_tx_antennas 2011-04-29 15:36:14 -04:00
iwl-4965-rs.c iwlegacy: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning 2011-05-16 14:10:38 -04:00
iwl-4965-rx.c
iwl-4965-sta.c
iwl-4965-tx.c iwl4965: fix skb usage after free 2011-04-20 16:05:59 -04:00
iwl-4965-ucode.c
iwl-4965.c
iwl-4965.h
iwl-commands.h
iwl-core.c iwlegacy: more priv->mutex serialization 2011-04-29 15:36:14 -04:00
iwl-core.h iwlegacy: remove scan_tx_antennas 2011-04-29 15:36:14 -04:00
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-dev.h iwlegacy: remove sync_cmd_mutex 2011-04-29 15:36:15 -04:00
iwl-devtrace.c
iwl-devtrace.h
iwl-eeprom.c iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c iwlegacy: remove sync_cmd_mutex 2011-04-29 15:36:15 -04:00
iwl-helpers.h iwlegacy: enable only rfkill interrupt when device is down 2011-04-29 15:36:13 -04:00
iwl-io.h
iwl-led.c
iwl-led.h
iwl-legacy-rs.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rx.c
iwl-scan.c
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
iwl-tx.c iwlegacy: fix enqueue hcmd race conditions 2011-04-29 15:36:14 -04:00
Kconfig iwlegacy: make iwl3945 and iwl4965 select IWLWIFI_LEGACY 2011-04-11 13:56:07 -04:00
Makefile