Compare commits

...

3 commits

Author SHA1 Message Date
Nicolas Dechesne
50534de687
Merge 2795c05492 into c1e4ca6032 2025-11-11 12:22:41 +01:00
Jeff Johnson
c1e4ca6032 ath12k-check: Override ath12k_wifi7_dp_mon_*() long lines
The ath12k next generation refactoring resulted in some long function
names, which it turn resulted in some long lines in ath12k/wifi7
reported by checkpatch. Suppress those new warnings.

Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
2025-11-10 09:02:29 -08:00
Nicolas Dechesne
2795c05492 scripts: use /usr/bin/env python3
Using #!/usr/bin/env python3 instead of #!/usr/bin/python3 in the
shebang line of a script is generally considered better practice for
portability and flexibility.

* env uses the user's PATH environment variable to locate python3
* Using env avoids hardcoding the path, making your script more
  portable.
* Works well with virtual environments:

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com>
2025-09-11 19:10:27 +02:00
9 changed files with 19 additions and 8 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (c) 2015 Qualcomm Atheros, Inc.
# Copyright (c) 2018, The Linux Foundation. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (c) 2016 Qualcomm Atheros, Inc.
# Copyright (c) 2018, The Linux Foundation. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (c) 2012-2015 Qualcomm Atheros, Inc.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (c) 2016 Qualcomm Atheros, Inc.
# Copyright (c) 2018,2020 The Linux Foundation. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (c) 2012-2015 Qualcomm Atheros, Inc.
# Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.

View file

@ -54,6 +54,17 @@ CHECKPATCH_OPTS = ['--strict', '-q', '--terse', '--no-summary',
'--max-line-length=90', '--show-types']
checkpatch_filter = [
('ath12k_wifi7_dp_mon_hal_rx_parse_eht_non_mumimo_user', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_hal_rx_parse_eht_sig_ndp', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_hal_rx_parse_eht_sig_non_ofdma', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_hal_rx_parse_non_ofdma_users', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_hal_rx_parse_user_info', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_hal_rx_parse_usig_overflow', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_parse_he_sig_b1_mu', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_parse_he_sig_b2_mu', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_parse_he_sig_mu', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_rx_handle_ofdma_info', 'LONG_LINE'),
('ath12k_wifi7_dp_mon_rx_populate_mu_user_info', 'LONG_LINE'),
('qmi_wlanfw_respond_mem_req_msg_v01', 'LONG_LINE'),
('qmi_wlanfw_host_cap_req_msg_v01', 'LONG_LINE'),
('qmi_wlfw_qdss_trace_config_download_req_msg_v01_ei', 'LONG_LINE'),

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (c) 2016 Qualcomm Atheros, Inc.
# Copyright (c) 2018,2020 The Linux Foundation. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved
# Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright (c) 2010 Atheros Communications Inc.
#