zephyr/drivers/usb/device
Jeremy Bettis b1f42f2e71 drivers: Fix uninitialized variable warning.
In GCC 14.2.0, the keyvariable in usb_dc_ep_write is detected to be used
before initialization, even though this usage should be safe.

Fix by initializing the key variable to 0, and making the 2 if
statements explicitly checking the same value.

Signed-off-by: Jeremy Bettis <jbettis@google.com>
2024-11-12 15:58:47 -06:00
..
CMakeLists.txt
Kconfig soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
usb_dc_dw.c
usb_dc_dw_stm32.h
usb_dc_it82xx2.c drivers: Fix uninitialized variable warning. 2024-11-12 15:58:47 -06:00
usb_dc_kinetis.c drivers: usb: Use VREG only if present for NXP Kinetis usb 2024-10-25 05:11:44 +01:00
usb_dc_mcux.c
usb_dc_native_posix.c
usb_dc_native_posix_adapt.c
usb_dc_native_posix_adapt.h
usb_dc_nrfx.c
usb_dc_numaker.c
usb_dc_rpi_pico.c drivers: usb_dc_rpi_pico: Implemented vbus detection handling 2024-10-17 10:47:15 -04:00
usb_dc_sam0.c
usb_dc_sam_usbc.c
usb_dc_sam_usbhs.c
usb_dc_smartbond.c
usb_dc_stm32.c