Skip to content
Snippets Groups Projects
Commit 972ea533 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

malloc_simple: Correct the alignment logic in memalign_simple()


This should use the align parameter, not bytes. Natural alignment is one
use case but should not be the only one supported by this function.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 90c36d8a
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment