From: Tom Rini Date: Fri, 28 Aug 2015 17:02:42 -0400 Subject: [U-Boot] malloc_simple: Correct the alignment logic in memalign_simple() In-Reply-To: <1439580404-26574-1-git-send-email-sjg@chromium.org> References: <1439580404-26574-1-git-send-email-sjg@chromium.org> Message-ID: <20150828210242.GR25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Aug 14, 2015 at 01:26:43PM -0600, Simon Glass wrote: > 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: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: