Files
linux/drivers
Johan Rudholm e9513216eb mmc: core: check for zero length ioctl data
commit 4d6144de8b upstream.

If the read or write buffer size associated with the command sent
through the mmc_blk_ioctl is zero, do not prepare data buffer.

This enables a ioctl(2) call to for instance send a MMC_SWITCH to set
a byte in the ext_csd.

Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-29 16:33:42 -08:00
..
2012-02-06 09:24:01 -08:00
2012-02-13 11:06:13 -08:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-01-25 17:24:44 -08:00
2012-02-29 16:33:41 -08:00
2012-01-06 14:13:48 -08:00
2011-11-21 14:31:14 -08:00