diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2016-12-23 16:01:08 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-01-10 11:53:00 +0100 |
commit | 19a91dd4e39e755d650444da7f3a571b40a11093 (patch) | |
tree | eb07f9ad51e0b4dc6a66a35a001f259ca02ad646 /Documentation/filesystems/configfs/configfs_example.c | |
parent | a121103c922847ba5010819a3f250f1f7fc84ab8 (diff) |
MMC: meson: avoid possible NULL dereference
No actual segmentation faults were observed but the coding is
at least inconsistent.
irqreturn_t meson_mmc_irq():
We should not dereference host before checking it.
meson_mmc_irq_thread():
If cmd or mrq are NULL we should not dereference them after
writing a warning.
Fixes: 51c5d8447bd7 MMC: meson: initial support for GX platforms
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example.c')
0 files changed, 0 insertions, 0 deletions