
2 Dec
2017
2 Dec
'17
4:29 a.m.
On 29 November 2017 at 07:29, Jean-Jacques Hiblot jjhiblot@ti.com wrote:
Not using this function reduces the size of the binary. It's replaces by a standard malloc() and the alignment requirement is handled by an intermediate buffer on the stack.
Also make sure that the allocated buffer is freed in case of error.
Signed-off-by: Jean-Jacques Hiblot jjhiblot@ti.com
drivers/mmc/mmc.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-)
Somewhat unsure of this one but it looks right to me.
Reviewed-by: Simon Glass sjg@chromium.org