Skip to content
Commit f00ab14c authored by Olof Johansson's avatar Olof Johansson Committed by Ulf Hansson
Browse files

mmc: block: return error on failed mmc_blk_get()



This used to return -EFAULT, but the function above returns -EINVAL on
the same condition so let's stick to that.

The removal of error return on this path was introduced with b093410c
('mmc: block: copy resp[] data on err for MMC_IOC_MULTI_CMD').

Fixes: b093410c ('mmc: block: copy resp[] data on err for MMC_IOC_MULTI_CMD').
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Cc: Grant Grundler <grundler@google.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 07e7716c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment