mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-27 04:45:22 +00:00
When building the i2s tests on 96b_argonkey we get the following warnings: drivers/dma/dma_stm32.c: In function 'dma_stm32_configure': drivers/dma/dma_stm32.c:181:2: error: 'periph_addr_adj' may be used uninitialized in this function [-Werror=maybe-uninitialized] 181 | switch (increment) { | ^~~~~~ drivers/dma/dma_stm32.c:161:2: error: 'memory_addr_adj' may be used uninitialized in this function [-Werror=maybe-uninitialized] 161 | switch (increment) { | ^~~~~~ Fix by initialzing periph_addr_adj and memory_addr_adj to 0. Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
dma_dw.c | ||
dma_dw.h | ||
dma_handlers.c | ||
dma_nios2_msgdma.c | ||
dma_sam_xdmac.c | ||
dma_sam_xdmac.h | ||
dma_sam0.c | ||
dma_stm32_v1.c | ||
dma_stm32_v2.c | ||
dma_stm32.c | ||
dma_stm32.h | ||
Kconfig | ||
Kconfig.dw | ||
Kconfig.nios2_msgdma | ||
Kconfig.sam_xdmac | ||
Kconfig.sam0 | ||
Kconfig.stm32 |