diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index 9e923cd1d80eb..38a7586b00cca 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c @@ -2485,7 +2485,7 @@ static long mmc_rpmb_ioctl(struct file *filp, unsigned int cmd, break; } - return 0; + return ret; } #ifdef CONFIG_COMPAT