Commit 88732a1
zephyr: syscall: sof_dma: initialize all fields of dma_config
z_vrfy_sof_dma_config() only passes allowed fields of dma_config
struct to kernel. Add initialization of the stack dma_config object
kern_cfg to ensure the skipped fields are set to a known state.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent 98e2fc6 commit 88732a1
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
| 194 | + | |
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
| |||
0 commit comments