Skip to content

usb: device_next: Cherry-pick USB fixes #7589

usb: device_next: Cherry-pick USB fixes

usb: device_next: Cherry-pick USB fixes #7589

Triggered via pull request November 21, 2024 14:50
Status Success
Total duration 2m 25s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 16s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 5 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
Run compliance checks on patch series (PR): ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details. You may want to run clang-format on this change: -#define UDC_DWC2_FIFO0_DEPTH (2 * 16U) +#define UDC_DWC2_FIFO0_DEPTH (2 * 16U) File:drivers/usb/udc/udc_dwc2.c Line:62 You may want to run clang-format on this change: - MIN(UDC_DWC2_FIFO0_DEPTH, priv->max_txfifo_depth[0]); + MIN(UDC_DWC2_FIFO0_DEPTH, priv->max_txfifo_depth[0]); File:drivers/usb/udc/udc_dwc2.c Line:1191 You may want to run clang-format on this change: - setup->bmRequestType == 0 && - setup->bRequest == USB_SREQ_SET_ADDRESS; + setup->bmRequestType == 0 && setup->bRequest == USB_SREQ_SET_ADDRESS; File:drivers/usb/udc/udc_nrf.c Line:364 You may want to run clang-format on this change: - if (nrf_usbd_common_last_setup_dir_get() == USB_CONTROL_EP_OUT || - udc_nrf_fake_setup) { + if (nrf_usbd_common_last_setup_dir_get() == USB_CONTROL_EP_OUT || udc_nrf_fake_setup) { File:drivers/usb/udc/udc_nrf.c Line:573 You may want to run clang-format on this change: - .hal_evt = { - .type = NRF_USBD_COMMON_EVT_SETUP, - }, + .hal_evt = + { + .type = NRF_USBD_COMMON_EVT_SETUP, + }, File:drivers/usb/udc/udc_nrf.c Line:716
You may want to run clang-format on this change: drivers/usb/udc/udc_dwc2.c#L62
drivers/usb/udc/udc_dwc2.c:62 -#define UDC_DWC2_FIFO0_DEPTH (2 * 16U) +#define UDC_DWC2_FIFO0_DEPTH (2 * 16U)
You may want to run clang-format on this change: drivers/usb/udc/udc_dwc2.c#L1191
drivers/usb/udc/udc_dwc2.c:1191 - MIN(UDC_DWC2_FIFO0_DEPTH, priv->max_txfifo_depth[0]); + MIN(UDC_DWC2_FIFO0_DEPTH, priv->max_txfifo_depth[0]);
You may want to run clang-format on this change: drivers/usb/udc/udc_nrf.c#L364
drivers/usb/udc/udc_nrf.c:364 - setup->bmRequestType == 0 && - setup->bRequest == USB_SREQ_SET_ADDRESS; + setup->bmRequestType == 0 && setup->bRequest == USB_SREQ_SET_ADDRESS;
You may want to run clang-format on this change: drivers/usb/udc/udc_nrf.c#L573
drivers/usb/udc/udc_nrf.c:573 - if (nrf_usbd_common_last_setup_dir_get() == USB_CONTROL_EP_OUT || - udc_nrf_fake_setup) { + if (nrf_usbd_common_last_setup_dir_get() == USB_CONTROL_EP_OUT || udc_nrf_fake_setup) {
You may want to run clang-format on this change: drivers/usb/udc/udc_nrf.c#L716
drivers/usb/udc/udc_nrf.c:716 - .hal_evt = { - .type = NRF_USBD_COMMON_EVT_SETUP, - }, + .hal_evt = + { + .type = NRF_USBD_COMMON_EVT_SETUP, + },

Artifacts

Produced during runtime
Name Size
compliance.xml
921 Bytes