summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorThomas Fourier <fourier.thomas@gmail.com>2025-06-10 17:29:11 +0300
committerMadhavan Srinivasan <maddy@linux.ibm.com>2025-07-09 06:45:10 +0300
commit760b9b4f6de9a33ca56a05f950cabe82138d25bd (patch)
treeed6cb26bed4582e67e5c68dc53015b491ae1ad16 /scripts/lib/kdoc/kdoc_output.py
parentcf183c1730f2634245da35e9b5d53381b787d112 (diff)
downloadlinux-760b9b4f6de9a33ca56a05f950cabe82138d25bd.tar.xz
(powerpc/512) Fix possible `dma_unmap_single()` on uninitialized pointer
If the device configuration fails (if `dma_dev->device_config()`), `sg_dma_address(&sg)` is not initialized and the jump to `err_dma_prep` leads to calling `dma_unmap_single()` on `sg_dma_address(&sg)`. Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250610142918.169540-2-fourier.thomas@gmail.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions