mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
84b0aa2e0d
Currently, is missing a null check on a pcim_iomap_table() return value and this can lead to a null pointer dereference if the desired BAR wasn't mapped previously. Fix this by adding a null check and returning -ENOMEM. Addresses-Coverity: ("Dereference null return") Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com> Link: https://lore.kernel.org/r/bc5e6b8632c84660bb6dae454980e9419992ed14.1613674948.git.gustavo.pimentel@synopsys.com Signed-off-by: Vinod Koul <vkoul@kernel.org> |
||
---|---|---|
.. | ||
dw-edma-core.c | ||
dw-edma-core.h | ||
dw-edma-pcie.c | ||
dw-edma-v0-core.c | ||
dw-edma-v0-core.h | ||
dw-edma-v0-debugfs.c | ||
dw-edma-v0-debugfs.h | ||
dw-edma-v0-regs.h | ||
Kconfig | ||
Makefile |