linux_dsm_epyc7002/drivers/net/wireless/intersil/hostap
Nathan Chancellor b61156fba7 hostap: Adjust indentation in prism2_hostapd_add_sta
Clang warns:

../drivers/net/wireless/intersil/hostap/hostap_ap.c:2511:3: warning:
misleading indentation; statement is not part of the previous 'if'
[-Wmisleading-indentation]
        if (sta->tx_supp_rates & WLAN_RATE_5M5)
        ^
../drivers/net/wireless/intersil/hostap/hostap_ap.c:2509:2: note:
previous statement is here
        if (sta->tx_supp_rates & WLAN_RATE_2M)
        ^
1 warning generated.

This warning occurs because there is a space before the tab on this
line. Remove it so that the indentation is consistent with the Linux
kernel coding style and clang no longer warns.

Fixes: ff1d2767d5 ("Add HostAP wireless driver.")
Link: https://github.com/ClangBuiltLinux/linux/issues/813
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2020-01-26 17:36:17 +02:00
..
hostap_80211_rx.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_80211_tx.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_80211.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_ap.c hostap: Adjust indentation in prism2_hostapd_add_sta 2020-01-26 17:36:17 +02:00
hostap_ap.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_common.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_config.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap_cs.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
hostap_download.c hostap: use %*ph to print small buffer 2019-09-06 17:12:02 +03:00
hostap_hw.c net: core: add generic lockdep keys 2019-10-24 14:53:48 -07:00
hostap_info.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
hostap_ioctl.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
hostap_main.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
hostap_pci.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
hostap_plx.c hostap: use %*ph to print small buffer 2019-09-06 17:12:02 +03:00
hostap_proc.c hostap: remove set but not used variable 'copied' in prism2_io_debug_proc_read 2019-09-06 17:09:37 +03:00
hostap_wlan.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hostap.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00