summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a475ba5)
raw | patch | inline | side by side (parent: a475ba5)
author | Lohith Kumar <l-kumar@ti.com> | |
Fri, 27 Jan 2023 11:57:55 +0000 (17:27 +0530) | ||
committer | Rishabh Garg <rishabh@ti.com> | |
Fri, 27 Jan 2023 12:08:39 +0000 (06:08 -0600) |
KW throws UNINIT.STACK.MIGHT since udmapChanStats, bcdmaChanStats, udmapRtEnable,
bcdmaRtEnable, have not been initialised in the same function call.
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
bcdmaRtEnable, have not been initialised in the same function call.
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
packages/ti/drv/udma/src/udma_ch.c | patch | blob | history |
index 1412eb12e1eee80a65f6dfae992788dba69dfec5..4f49c2bf1d54a7b583177d77b522325360fceec4 100644 (file)
Udma_DrvHandle drvHandle;
uint32_t chNum;
#if (UDMA_SOC_CFG_UDMAP_PRESENT == 1)
- CSL_UdmapChanStats udmapChanStats;
+ CSL_UdmapChanStats udmapChanStats = {0U};
CSL_UdmapChanDir udmapChDir;
#endif
#if (UDMA_SOC_CFG_BCDMA_PRESENT == 1)
- CSL_BcdmaChanStats bcdmaChanStats;
+ CSL_BcdmaChanStats bcdmaChanStats = {0U};
CSL_BcdmaChanDir bcdmaChDir;
#endif
#if (UDMA_SOC_CFG_PKTDMA_PRESENT == 1)
- CSL_PktdmaChanStats pktdmaChanStats;
+ CSL_PktdmaChanStats pktdmaChanStats = {0U};
CSL_PktdmaChanDir pktdmaChDir;
#endif
uint32_t regVal;
Udma_DrvHandle drvHandle;
#if (UDMA_SOC_CFG_UDMAP_PRESENT == 1)
- CSL_UdmapRT udmapRtEnable;
+ CSL_UdmapRT udmapRtEnable = {0U};
#endif
#if (UDMA_SOC_CFG_BCDMA_PRESENT == 1)
- CSL_BcdmaRT bcdmaRtEnable;
+ CSL_BcdmaRT bcdmaRtEnable = {0U};
#endif
#if (UDMA_SOC_CFG_PKTDMA_PRESENT == 1)
- CSL_PktdmaRT pktdmaRtEnable;
+ CSL_PktdmaRT pktdmaRtEnable = {0U};
#endif
#if (UDMA_NUM_UTC_INSTANCE > 0)
uint32_t utcChNum;