linux/drivers/mmc/core
Mathieu Malaterre b25b750df9 mmc: block: propagate correct returned value in mmc_rpmb_ioctl
In commit 97548575be ("mmc: block: Convert RPMB to a character device") a
new function `mmc_rpmb_ioctl` was added. The final return is simply
returning a value of `0` instead of propagating the correct return code.

Discovered during a compilation with W=1, silence the following gcc warning

drivers/mmc/core/block.c:2470:6: warning: variable ‘ret’ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Fixes: 97548575be ("mmc: block: Convert RPMB to a character device")
Cc: stable@vger.kernel.org # v4.15+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2018-05-21 10:57:59 +02:00
..
Kconfig
Makefile
block.c mmc: block: propagate correct returned value in mmc_rpmb_ioctl 2018-05-21 10:57:59 +02:00
block.h mmc: block: Remove code no longer needed after the switch to blk-mq 2017-12-11 13:02:22 +01:00
bus.c mmc: core: Remove code no longer needed after the switch to blk-mq 2017-12-11 13:05:58 +01:00
bus.h
card.h mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards 2018-03-15 14:43:25 +01:00
core.c mmc: slot-gpio: Add a function to enable/disable card detect IRQ wakeup 2018-03-05 13:04:32 +01:00
core.h mmc: core: Remove code no longer needed after the switch to blk-mq 2017-12-11 13:05:58 +01:00
debugfs.c mmc: Export host capabilities to debugfs. 2018-03-22 10:36:27 +01:00
host.c mmc: core: Remove option not to use blk-mq 2017-12-11 12:55:02 +01:00
host.h mmc: core: Don't try UHS-I mode if 4-bit mode isn't supported 2018-03-15 09:30:39 +01:00
mmc.c mmc: core: Export card RCA register via sysfs 2018-03-15 14:43:05 +01:00
mmc_ops.c mmc: core: Avoid hanging to claim host for mmc via some nested calls 2018-02-27 15:12:37 +01:00
mmc_ops.h
mmc_test.c mmc: mmc_test: Ensure command queue is disabled for testing 2017-12-11 12:51:29 +01:00
pwrseq.c
pwrseq.h
pwrseq_emmc.c
pwrseq_sd8787.c
pwrseq_simple.c
queue.c block: Use blk_queue_flag_*() in drivers instead of queue_flag_*() 2018-03-08 14:13:48 -07:00
queue.h mmc: block: Remove code no longer needed after the switch to blk-mq 2017-12-11 13:02:22 +01:00
quirks.h mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards 2018-03-15 14:43:25 +01:00
sd.c mmc: core: Export card RCA register via sysfs 2018-03-15 14:43:05 +01:00
sd.h
sd_ops.c
sd_ops.h
sdio.c mmc: sdio: Check the return value of sdio_enable_4bit_bus 2018-03-15 09:32:30 +01:00
sdio_bus.c
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c mmc: update sdio_claim_irq documentation 2018-03-22 10:50:24 +01:00
sdio_ops.c
sdio_ops.h
sdio_uart.c
slot-gpio.c mmc: sdhci-pci: Respect PM flags when enabling card detect GPIO IRQ wakeup 2018-03-05 13:04:33 +01:00
slot-gpio.h