Repository navigation
Nrfx clock api use downstream #17598
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
3m 33s
Annotations
1 warning and 10 notices
|
Run compliance checks on patch series (PR):
ClangFormat.txt#L0
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
- "Supported frequencies count has to be lower than UINT8_MAX");
-
-static const uint32_t supported_frequencies[HFCLK_CLOCK_FREQUENCIES_SIZE] =
- HFCLK_CLOCK_FREQUENCIES;
+ "Supported frequencies count has to be lower than UINT8_MAX");
+
+static const uint32_t supported_frequencies[HFCLK_CLOCK_FREQUENCIES_SIZE] = HFCLK_CLOCK_FREQUENCIES;
File:drivers/clock_control/clock_control_nrf_hfclk.c
Line:133
You may want to run clang-format on this change:
- .std_api = {
- .on = common_api_blocking_start,
- .off = common_api_stop,
- .async_on = common_api_start,
- .get_status = common_api_get_status,
- .get_rate = hfclk_get_rate,
- .set_rate = hfclk_set_rate,
- },
+ .std_api =
+ {
+ .on = common_api_blocking_start,
+ .off = common_api_stop,
+ .async_on = common_api_start,
+ .get_status = common_api_get_status,
+ .get_rate = hfclk_get_rate,
+ .set_rate = hfclk_set_rate,
+ },
File:drivers/clock_control/clock_control_nrf_hfclk.c
Line:204
You may want to run clang-format on this change:
-#else /* NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT */
+#else /* NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT */
File:drivers/clock_control/clock_control_nrf_hfclk.c
Line:215
You may want to run clang-format on this change:
- "Supported frequencies count has to be lower than UINT8_MAX");
+ "Supported frequencies count has to be lower than UINT8_MAX");
static const uint32_t supported_frequencies[HFCLK192M_CLOCK_FREQUENCIES_SIZE] =
- HFCLK192M_CLOCK_FREQUENCIES;
+ HFCLK192M_CLOCK_FREQUENCIES;
static int hfclk192m_set_rate(const struct device *dev, clock_control_subsys_t sys,
- clock_control_subsys_rate_t rate)
+ clock_control_subsys_rate_t rate)
File:drivers/clock_control/clock_control_nrf_hfclk192m.c
Line:43
You may want to run clang-format on this change:
-
#if NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT
DEVICE_API(nrf_clock_control, hfclk192m_clock_control_api) = {
- .std_api = {
- .on = common_api_blocking_start,
- .off = common_api_stop,
- .async_on = common_api_start,
- .get_status = common_api_get_status,
- .get_rate = hfclk192m_get_rate,
- .set_rate = hfclk192m_set_rate,
- },
+ .std_api =
+ {
+ .on = common_api_blocking_start,
+ .off = common_api_stop,
+ .async_on = common_api_start,
+ .get_status = common_api_get_status,
+ .get_rate = hfclk192m_get_rate,
+ .set_rate = hfclk192m_set_rate,
+ },
File:drivers/clock_control/clock_control_nrf_hfclk192m.c
Line:114
You may want to run clang-format on this change:
-#else /* NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT */
+#else /* NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT */
File:drivers/clock_control/clock_control_nrf_hfclk192m.c
Line:125
You may want to run clang-format on this change:
-__weak void hwsim_supp_mgmt_rx(struct hwsim_radio *radio, const uint8_t *data,
- unsigned int len, unsigned int freq_mhz, int rssi_dbm)
+__weak void hwsim_supp_mgmt_rx(struct hwsim_radio *radio, const uint8_t *data, unsigned int len,
+ unsigned int freq_mhz, int rssi_dbm)
File:drivers/wifi/hwsim/wifi_hwsim.c
Line:31
You may want to run clang-format on this change:
- k_thread_create(&radio->rx_thread, radio->rx_stack,
- K_KERNEL_STACK_SIZEOF(radio->rx_stack),
- hwsim_rx_thread, radio, NULL, NULL,
- K_PRIO_PREEMPT(8), 0, K_NO_WAIT);
-
- ((struct ethernet_context *)net_if_l2_data(iface))->eth_if_type =
- L2_ETH_IF_TYPE_WIFI;
+ k_thread_create(&radio->rx_thread, radio->rx_stack, K_KERNEL_STACK_SIZEOF(radio->rx_stack),
+ hwsim_rx_thread, radio, NULL, NULL, K_PRIO_PREEMPT(8), 0, K_NO_WAIT);
+
+ ((struct ethernet_context *)net_if_l2_data(iface))->eth_if_type = L2_ETH_IF_TYPE_WIFI;
File:drivers/wifi/hwsim/wifi_hwsim.c
Line:89
You may want to run clang-format on this change:
- struct wifi_scan_result res = { 0 };
+ struct wifi_scan_result res = {0};
File:drivers/wifi/hwsim/wifi_hwsim.c
Line:132
You may want to run clang-format on this change:
- if (params == NULL || params
|
|
You may want to run clang-format on this change:
drivers/wifi/hwsim/wifi_hwsim.c#L188
drivers/wifi/hwsim/wifi_hwsim.c:188
- if (params == NULL || params->ssid == NULL ||
- params->ssid_length == 0 || params->ssid_length > WIFI_SSID_MAX_LEN) {
- wifi_mgmt_raise_ap_enable_result_event(radio->iface,
- WIFI_STATUS_AP_FAIL);
+ if (params == NULL || params->ssid == NULL || params->ssid_length == 0 ||
+ params->ssid_length > WIFI_SSID_MAX_LEN) {
+ wifi_mgmt_raise_ap_enable_result_event(radio->iface, WIFI_STATUS_AP_FAIL);
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/wifi/hwsim/wifi_hwsim.c#L132
drivers/wifi/hwsim/wifi_hwsim.c:132
- struct wifi_scan_result res = { 0 };
+ struct wifi_scan_result res = {0};
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/wifi/hwsim/wifi_hwsim.c#L89
drivers/wifi/hwsim/wifi_hwsim.c:89
- k_thread_create(&radio->rx_thread, radio->rx_stack,
- K_KERNEL_STACK_SIZEOF(radio->rx_stack),
- hwsim_rx_thread, radio, NULL, NULL,
- K_PRIO_PREEMPT(8), 0, K_NO_WAIT);
-
- ((struct ethernet_context *)net_if_l2_data(iface))->eth_if_type =
- L2_ETH_IF_TYPE_WIFI;
+ k_thread_create(&radio->rx_thread, radio->rx_stack, K_KERNEL_STACK_SIZEOF(radio->rx_stack),
+ hwsim_rx_thread, radio, NULL, NULL, K_PRIO_PREEMPT(8), 0, K_NO_WAIT);
+
+ ((struct ethernet_context *)net_if_l2_data(iface))->eth_if_type = L2_ETH_IF_TYPE_WIFI;
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/wifi/hwsim/wifi_hwsim.c#L31
drivers/wifi/hwsim/wifi_hwsim.c:31
-__weak void hwsim_supp_mgmt_rx(struct hwsim_radio *radio, const uint8_t *data,
- unsigned int len, unsigned int freq_mhz, int rssi_dbm)
+__weak void hwsim_supp_mgmt_rx(struct hwsim_radio *radio, const uint8_t *data, unsigned int len,
+ unsigned int freq_mhz, int rssi_dbm)
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_hfclk192m.c#L125
drivers/clock_control/clock_control_nrf_hfclk192m.c:125
-#else /* NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT */
+#else /* NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT */
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_hfclk192m.c#L114
drivers/clock_control/clock_control_nrf_hfclk192m.c:114
-
#if NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT
DEVICE_API(nrf_clock_control, hfclk192m_clock_control_api) = {
- .std_api = {
- .on = common_api_blocking_start,
- .off = common_api_stop,
- .async_on = common_api_start,
- .get_status = common_api_get_status,
- .get_rate = hfclk192m_get_rate,
- .set_rate = hfclk192m_set_rate,
- },
+ .std_api =
+ {
+ .on = common_api_blocking_start,
+ .off = common_api_stop,
+ .async_on = common_api_start,
+ .get_status = common_api_get_status,
+ .get_rate = hfclk192m_get_rate,
+ .set_rate = hfclk192m_set_rate,
+ },
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_hfclk192m.c#L43
drivers/clock_control/clock_control_nrf_hfclk192m.c:43
- "Supported frequencies count has to be lower than UINT8_MAX");
+ "Supported frequencies count has to be lower than UINT8_MAX");
static const uint32_t supported_frequencies[HFCLK192M_CLOCK_FREQUENCIES_SIZE] =
- HFCLK192M_CLOCK_FREQUENCIES;
+ HFCLK192M_CLOCK_FREQUENCIES;
static int hfclk192m_set_rate(const struct device *dev, clock_control_subsys_t sys,
- clock_control_subsys_rate_t rate)
+ clock_control_subsys_rate_t rate)
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_hfclk.c#L215
drivers/clock_control/clock_control_nrf_hfclk.c:215
-#else /* NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT */
+#else /* NRF_CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT */
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_hfclk.c#L204
drivers/clock_control/clock_control_nrf_hfclk.c:204
- .std_api = {
- .on = common_api_blocking_start,
- .off = common_api_stop,
- .async_on = common_api_start,
- .get_status = common_api_get_status,
- .get_rate = hfclk_get_rate,
- .set_rate = hfclk_set_rate,
- },
+ .std_api =
+ {
+ .on = common_api_blocking_start,
+ .off = common_api_stop,
+ .async_on = common_api_start,
+ .get_status = common_api_get_status,
+ .get_rate = hfclk_get_rate,
+ .set_rate = hfclk_set_rate,
+ },
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
|
You may want to run clang-format on this change:
drivers/clock_control/clock_control_nrf_hfclk.c#L133
drivers/clock_control/clock_control_nrf_hfclk.c:133
- "Supported frequencies count has to be lower than UINT8_MAX");
-
-static const uint32_t supported_frequencies[HFCLK_CLOCK_FREQUENCIES_SIZE] =
- HFCLK_CLOCK_FREQUENCIES;
+ "Supported frequencies count has to be lower than UINT8_MAX");
+
+static const uint32_t supported_frequencies[HFCLK_CLOCK_FREQUENCIES_SIZE] = HFCLK_CLOCK_FREQUENCIES;
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
compliance.xml
|
9.2 KB |
sha256:aba6d11311e1cce7f0c6fe38733676212141c365f6852e2d2704ff441b5c64ff
|
|
|
dts_linter.patch
|
148 Bytes |
sha256:2849b2920f82af3285322cc8aa14a5fa38f9b1068928f8c56680f2b9637afd3d
|
|