[PATCH] mmc: fix improper use of memset

Tom Rini trini at konsulko.com
Thu Jun 1 17:25:20 CEST 2023


On Thu, May 18, 2023 at 01:47:07PM -0600, Sam Edwards wrote:

> 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: Sam Edwards <CFSworks at gmail.com>
> Reviewed-by: Peng Fan <peng.fan at nxp.com>

Applied to u-boot/next, 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/20230601/0293d818/attachment.sig>


More information about the U-Boot mailing list