diff options
| author | Sai Krishna Potthuri <[email protected]> | 2022-05-12 07:19:53 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2022-05-16 13:49:31 +0000 |
| commit | ded2c4c345001a129293db4bc1fa9ae236ceb0d9 (patch) | |
| tree | be3584e63c1265e0b307cefa6c44393836d3bbac /drivers/mmc/core/queue.c | |
| parent | mmc: core: Support zeroout using TRIM for eMMC (diff) | |
| download | kernel-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
