aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.c
diff options
context:
space:
mode:
authorSai Krishna Potthuri <[email protected]>2022-05-12 07:19:53 +0000
committerUlf Hansson <[email protected]>2022-05-16 13:49:31 +0000
commitded2c4c345001a129293db4bc1fa9ae236ceb0d9 (patch)
treebe3584e63c1265e0b307cefa6c44393836d3bbac /drivers/mmc/core/queue.c
parentmmc: core: Support zeroout using TRIM for eMMC (diff)
downloadkernel-ded2c4c345001a129293db4bc1fa9ae236ceb0d9.tar.gz
kernel-ded2c4c345001a129293db4bc1fa9ae236ceb0d9.zip
mmc: sdhci-of-arasan: Add NULL check for data field
Add NULL check for data field retrieved from of_device_get_match_data() before dereferencing the data. Addresses-coverity: CID 305057:Dereference null return value (NULL_RETURNS) Signed-off-by: Sai Krishna Potthuri <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/1652339993-27280-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions