Skip to content
Commit 229d689e authored by Sam Edwards's avatar Sam Edwards Committed by Tom Rini
Browse files

mmc: fix improper use of memset



Buffers created through DEFINE_(CACHE_)ALIGN_BUFFER are actually
pointers to the real underlying buffer. Using sizeof(...) is
not appropriate in this case.

Signed-off-by: default avatarSam Edwards <CFSworks@gmail.com>
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
parent de06083c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment