linux_dsm_epyc7002/drivers/mmc/host
Gustavo A. R. Silva c00a231ba0 mmc: bcm2835: fix potential null pointer dereferences
Null check at line 1165: if (mrq->cmd), implies that mrq->cmd might
be NULL.
Add null checks before dereferencing pointer mrq->cmd in order to avoid
any potential NULL pointer dereference.

Addresses-Coverity-ID: 1408740
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2017-06-20 10:30:31 +02:00
..
android-goldfish.c mmc: use new core function mmc_get_dma_dir 2017-04-24 21:41:52 +02:00
atmel-mci.c mmc: atmel-mci: Delete an error message for a failed memory allocation 2017-06-20 10:30:20 +02:00
au1xmmc.c
bcm2835.c mmc: bcm2835: fix potential null pointer dereferences 2017-06-20 10:30:31 +02:00
bfin_sdh.c
cavium-octeon.c mmc: cavium: Fix probing race with regulator 2017-05-22 18:01:46 +02:00
cavium-thunderx.c mmc: cavium: Fix probing race with regulator 2017-05-22 18:01:46 +02:00
cavium.c mmc: core: Delete bounce buffer Kconfig option 2017-06-20 10:30:17 +02:00
cavium.h mmc: cavium: Add scatter-gather DMA support 2017-04-24 21:42:10 +02:00
cb710-mmc.c
cb710-mmc.h
davinci_mmc.c mmc: use new core function mmc_get_dma_dir 2017-04-24 21:41:52 +02:00
dw_mmc-exynos.c
dw_mmc-exynos.h
dw_mmc-k3.c
dw_mmc-pci.c
dw_mmc-pltfm.c
dw_mmc-pltfm.h
dw_mmc-rockchip.c
dw_mmc-zx.c
dw_mmc-zx.h
dw_mmc.c mmc: dw_mmc: Use device_property_read instead of of_property_read 2017-06-20 10:30:29 +02:00
dw_mmc.h
jz4740_mmc.c mmc: use new core function mmc_get_dma_dir 2017-04-24 21:41:52 +02:00
Kconfig mmc: renesas-sdhi: rename sh_mobile_sdhi.c => renesas_sdhi_core.c 2017-06-20 10:30:15 +02:00
Makefile mmc: renesas-sdhi: rename sh_mobile_sdhi.c => renesas_sdhi_core.c 2017-06-20 10:30:15 +02:00
meson-gx-mmc.c mmc: meson-gx: work around broken SDIO with certain WiFi chips 2017-06-12 08:58:16 +02:00
mmc_spi.c mmc: use new core function mmc_get_dma_dir 2017-04-24 21:41:52 +02:00
mmci_qcom_dml.c
mmci_qcom_dml.h
mmci.c mmc: use new core function mmc_get_dma_dir 2017-04-24 21:41:52 +02:00
mmci.h
moxart-mmc.c mmc: use new core function mmc_get_dma_dir 2017-04-24 21:41:52 +02:00
mtk-sd.c mmc: use new core function mmc_get_dma_dir 2017-04-24 21:41:52 +02:00
mvsdio.c mmc: use new core function mmc_get_dma_dir 2017-04-24 21:41:52 +02:00
mvsdio.h
mxcmmc.c
mxs-mmc.c
of_mmc_spi.c
omap_hsmmc.c mmc: host: omap_hsmmc: checking for NULL instead of IS_ERR() 2017-04-24 21:42:18 +02:00
omap.c
pxamci.c mmc: core: Delete bounce buffer Kconfig option 2017-06-20 10:30:17 +02:00
pxamci.h
renesas_sdhi_core.c mmc: use proper name for the R-Car SoC 2017-06-20 10:30:30 +02:00
renesas_sdhi_sys_dmac.c mmc: sdhi: add CMD23 support to R-Car Gen2 & Gen3 2017-06-20 10:30:24 +02:00
renesas_sdhi.h mmc: renesas-sdhi: make renesas_sdhi_sys_dmac main module file 2017-06-20 10:30:16 +02:00
rtsx_pci_sdmmc.c
rtsx_usb_sdmmc.c
s3cmci.c mmc: host: s3cmci: allow probing from device tree 2017-04-24 21:41:59 +02:00
s3cmci.h
sdhci_f_sdh30.c
sdhci-acpi.c mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for BYT-related Intel controllers 2017-04-24 21:41:57 +02:00
sdhci-bcm-kona.c
sdhci-brcmstb.c mmc: sdhci: Let drivers decide whether to use mmc_retune_needed() with pm 2017-04-24 21:41:26 +02:00
sdhci-cadence.c mmc: sdhci-cadence: add parsing sdhci properties 2017-04-24 21:42:19 +02:00
sdhci-cns3xxx.c
sdhci-dove.c
sdhci-esdhc-imx.c mmc: sdhci-esdhc-imx: Check the return value from clk_prepare_enable() 2017-06-20 10:30:28 +02:00
sdhci-esdhc.h mmc: sdhci-of-esdhc: add tuning support 2017-04-24 21:42:26 +02:00
sdhci-iproc.c mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read 2017-05-22 18:18:04 +02:00
sdhci-msm.c mmc: sdhci: Do not use spin lock in set_ios paths 2017-04-24 21:41:29 +02:00
sdhci-of-arasan.c mmc: sdhci-of-arasan: Trivial print fix 2017-06-20 10:30:07 +02:00
sdhci-of-at91.c mmc: sdhci: Do not use spin lock in set_ios paths 2017-04-24 21:41:29 +02:00
sdhci-of-esdhc.c mmc: sdhci-of-esdhc: limit SD clock for ls1012a/ls1046a 2017-04-28 14:53:13 +02:00
sdhci-of-hlwd.c
sdhci-pci-core.c mmc: sdhci-pci: Allow for 3 bytes from Intel DSM 2017-04-24 21:42:24 +02:00
sdhci-pci-data.c mmc: sdhci-pci: Use ACPI DSM to get driver strength for some Intel devices 2017-04-24 21:41:28 +02:00
sdhci-pci-o2micro.c mmc: sdhci-pci: Let suspend/resume callbacks replace default callbacks 2017-04-24 21:41:38 +02:00
sdhci-pci-o2micro.h
sdhci-pci.h mmc: sdhci-pci: Add runtime suspend/resume callbacks 2017-04-24 21:41:39 +02:00
sdhci-pic32.c
sdhci-pltfm.c mmc: sdhci: Let drivers decide whether to use mmc_retune_needed() with pm 2017-04-24 21:41:26 +02:00
sdhci-pltfm.h
sdhci-pxav2.c mmc: sdhci-pxav2: remove unnecessary platform_set_drvdata() call 2017-04-24 21:41:20 +02:00
sdhci-pxav3.c mmc: sdhci: Do not use spin lock in set_ios paths 2017-04-24 21:41:29 +02:00
sdhci-s3c.c mmc: sdhci: Do not use spin lock in set_ios paths 2017-04-24 21:41:29 +02:00
sdhci-sirf.c mmc: sdhci: Let drivers decide whether to use mmc_retune_needed() with pm 2017-04-24 21:41:26 +02:00
sdhci-spear.c mmc: sdhci: Let drivers decide whether to use mmc_retune_needed() with pm 2017-04-24 21:41:26 +02:00
sdhci-st.c mmc: sdhci: Let drivers decide whether to use mmc_retune_needed() with pm 2017-04-24 21:41:26 +02:00
sdhci-tegra.c mmc: tegra: Add Tegra186 support 2017-04-24 21:41:18 +02:00
sdhci-xenon-phy.c mmc: sdhci-xenon: kill xenon_clean_phy() 2017-05-19 08:58:21 +02:00
sdhci-xenon.c mmc: sdhci-xenon: kill xenon_clean_phy() 2017-05-19 08:58:21 +02:00
sdhci-xenon.h mmc: sdhci-xenon: kill xenon_clean_phy() 2017-05-19 08:58:21 +02:00
sdhci.c mmc: sdhci: Control the delay between tuning commands 2017-04-24 21:42:27 +02:00
sdhci.h mmc: sdhci: Control the delay between tuning commands 2017-04-24 21:42:27 +02:00
sdricoh_cs.c mmc: sdricoh_cs: remove redundant check if len is non-zero 2017-06-20 10:30:08 +02:00
sh_mmcif.c
sunxi-mmc.c mmc: use new core function mmc_get_dma_dir 2017-04-24 21:41:52 +02:00
tifm_sd.c
tmio_mmc_core.c mmc: tmio: add CMD23 support 2017-06-20 10:30:23 +02:00
tmio_mmc.c mmc: renesas-sdhi, tmio: make dma more modular 2017-06-20 10:30:14 +02:00
tmio_mmc.h mmc: renesas-sdhi: rename tmio_mmc_dma.c => renesas_sdhi_sys_dmac.c 2017-06-20 10:30:15 +02:00
toshsd.c
toshsd.h
usdhi6rol0.c
ushc.c mmc: ushc: fix NULL-deref at probe 2017-03-16 15:31:27 +01:00
via-sdmmc.c
vub300.c mmc: vub3000: add missing USB-descriptor endianness conversions 2017-06-20 10:30:09 +02:00
wbsd.c Annotate hardware config module parameters in drivers/mmc/host/ 2017-04-20 12:02:32 +01:00
wbsd.h
wmt-sdmmc.c