diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2017-11-21 14:42:28 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-11-23 14:03:51 +0100 |
commit | fb8e456e547ed2c699f64665bd8a3b9bde7b9728 (patch) | |
tree | 43473259e280fdb8b3a63c9071e7b7766176af06 /drivers/mmc/host/sdhci-pci-o2micro.c | |
parent | mmc: block: Fix missing blk_put_request() (diff) | |
download | linux-fb8e456e547ed2c699f64665bd8a3b9bde7b9728.tar.xz linux-fb8e456e547ed2c699f64665bd8a3b9bde7b9728.zip |
mmc: block: Check return value of blk_get_request()
blk_get_request() can fail, always check the return value.
Fixes: 0493f6fe5bde ("mmc: block: Move boot partition locking into a driver op")
Fixes: 3ecd8cf23f88 ("mmc: block: move multi-ioctl() to use block layer")
Fixes: 614f0388f580 ("mmc: block: move single ioctl() commands to block requests")
Fixes: 627c3ccfb46a ("mmc: debugfs: Move block debugfs into block module")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org # 4.13+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci-o2micro.c')
0 files changed, 0 insertions, 0 deletions