mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
mmc: block: Check return value of blk_get_request()
blk_get_request() can fail, always check the return value. Fixes:0493f6fe5b("mmc: block: Move boot partition locking into a driver op") Fixes:3ecd8cf23f("mmc: block: move multi-ioctl() to use block layer") Fixes:614f0388f5("mmc: block: move single ioctl() commands to block requests") Fixes:627c3ccfb4("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>
This commit is contained in:
parent
34c089e806
commit
fb8e456e54
1 changed files with 19 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue