[PATCH] image: fit: Use stack allocation macro
Tom Rini
trini at konsulko.com
Sun Jul 3 20:09:24 CEST 2022
On Mon, Jun 20, 2022 at 04:31:17PM +0930, Joel Stanley wrote:
> The documentation above the DEFINE_ALIGN_BUFFER says it's for use
> outside functions, but we're inside one.
>
> Instead use ALLOC_CACHE_ALIGN_BUFFER, the stack based macro, which also
> includes the cache alignment.
>
> Fixes: b583348ca8c8 ("image: fit: Align hash output buffers")
> Signed-off-by: Joel Stanley <joel at jms.id.au>
> Tested-by: Chia-Wei Wang <chiawei_wang at aspeedtech.com>
> Reviewed-by: Sean Anderson <sean.anderson at seco.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220703/25f05abc/attachment.sig>
More information about the U-Boot
mailing list