diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-05-25 12:04:55 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-06-20 10:30:31 +0200 |
commit | c00a231ba053a9b0be8d512957b99395b92bc620 (patch) | |
tree | 382a140ff1e4cc16ead5a76c1ef9bdc510f46831 /drivers/dax/Kconfig | |
parent | d63c2bf49c0de83e88153da3af9970f68c633257 (diff) | |
download | linux-c00a231ba053a9b0be8d512957b99395b92bc620.tar.bz2 |
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>
Diffstat (limited to 'drivers/dax/Kconfig')
0 files changed, 0 insertions, 0 deletions