git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee5eba
)
mmc: core: check for zero length ioctl data
author
Johan Rudholm
<johan.rudholm@stericsson.com>
Wed, 23 Nov 2011 08:05:58 +0000
(09:05 +0100)
committer
Chris Ball
<cjb@laptop.org>
Thu, 12 Jan 2012 04:58:42 +0000
(23:58 -0500)
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>
No differences found