linux_dsm_epyc7002/drivers/net/wireless/realtek/rtlwifi
Nathan Chancellor 31138a827d rtlwifi: btcoex: Use proper enumerated types for Wi-Fi only interface
Clang warns when one enumerated type is implicitly converted to another.

drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c:1327:34:
warning: implicit conversion from enumeration type 'enum
btc_chip_interface' to different enumeration type 'enum
wifionly_chip_interface' [-Wenum-conversion]
                wifionly_cfg->chip_interface = BTC_INTF_PCI;
                                             ~ ^~~~~~~~~~~~
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c:1330:34:
warning: implicit conversion from enumeration type 'enum
btc_chip_interface' to different enumeration type 'enum
wifionly_chip_interface' [-Wenum-conversion]
                wifionly_cfg->chip_interface = BTC_INTF_USB;
                                             ~ ^~~~~~~~~~~~
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c:1333:34:
warning: implicit conversion from enumeration type 'enum
btc_chip_interface' to different enumeration type 'enum
wifionly_chip_interface' [-Wenum-conversion]
                wifionly_cfg->chip_interface = BTC_INTF_UNKNOWN;
                                             ~ ^~~~~~~~~~~~~~~~
3 warnings generated.

Use the values from the correct enumerated type, wifionly_chip_interface.

BTC_INTF_UNKNOWN = WIFIONLY_INTF_UNKNOWN = 0
BTC_INTF_PCI = WIFIONLY_INTF_PCI = 1
BTC_INTF_USB = WIFIONLY_INTF_USB = 2

Link: https://github.com/ClangBuiltLinux/linux/issues/135
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-10-01 18:36:51 +03:00
..
btcoexist rtlwifi: btcoex: Use proper enumerated types for Wi-Fi only interface 2018-10-01 18:36:51 +03:00
rtl8188ee rtlwifi: remove set but unused variables 2018-09-04 11:17:43 +03:00
rtl8192c headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
rtl8192ce rtlwifi: remove unused fw C2H command ID 2018-05-29 10:16:47 +03:00
rtl8192cu rtlwifi: rtl8192cu: remove pointless memcpy 2018-02-27 18:17:59 +02:00
rtl8192de rtlwifi: Convert individual interrupt results to struct 2017-12-07 15:13:32 +02:00
rtl8192ee rtlwifi: remove hal_op c2h_content_parsing 2018-05-29 10:17:02 +03:00
rtl8192se rtlwifi: Convert individual interrupt results to struct 2017-12-07 15:13:32 +02:00
rtl8723ae rtlwifi: remove set but unused variables 2018-09-04 11:17:43 +03:00
rtl8723be rtlwifi: remove hal_op c2h_content_parsing 2018-05-29 10:17:02 +03:00
rtl8723com rtlwifi: fill FW version and subversion 2018-01-08 19:08:00 +02:00
rtl8821ae wireless-drivers-next patches for 4.18 2018-06-03 11:03:10 -04:00
base.c Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
base.h rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
cam.c rtlwifi: Fix programing CAM content sequence. 2017-02-07 09:25:08 +02:00
cam.h
core.c rtlwifi: rtl8821ae: fix firmware is not ready to run 2018-06-29 10:08:47 +03:00
core.h
debug.c rtlwifi: Improve debugging by using debugfs 2018-01-08 19:07:45 +02:00
debug.h rtlwifi: Improve debugging by using debugfs 2018-01-08 19:07:45 +02:00
efuse.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
efuse.h rtlwifi: add efuse ops for other components 2018-02-27 18:15:25 +02:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
pci.h rtlwifi: cleanup the code that check whether TX ring is available 2017-12-07 15:14:52 +02:00
ps.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
ps.h rtlwifi: Remove unused parameter from rtl_ps_set_rf_state() 2016-07-05 17:31:41 +03:00
pwrseqcmd.h
rc.c rtlwifi: Fix VHT NSS in RC 2018-02-27 18:15:23 +02:00
rc.h
regd.c rtlwifi: fix spelling mistake: "conuntry" -> "country" 2017-03-08 17:07:32 +02:00
regd.h
stats.c rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
stats.h rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
usb.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
usb.h rtlwifi: Move items out of rtl_pci_priv and rtl_usb_priv 2017-02-08 17:24:42 +02:00
wifi.h rtlwifi: access skb->data to get C2H data by macro 2018-05-29 10:17:04 +03:00