drivers: udc_nrf: handle overwritten Set Address commands #158230
Annotations
1 error, 1 warning, and 3 notices
Run Compliance Tests
Process completed with exit code 1.
|
check-warns:
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:
- 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:712
|
Run Compliance Tests:
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;
|
Run Compliance Tests:
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) {
|
Run Compliance Tests:
drivers/usb/udc/udc_nrf.c#L712
drivers/usb/udc/udc_nrf.c:712
- .hal_evt = {
- .type = NRF_USBD_COMMON_EVT_SETUP,
- },
+ .hal_evt =
+ {
+ .type = NRF_USBD_COMMON_EVT_SETUP,
+ },
|
Loading