[PATCH v2 06/16] reset: Avoid a warning in devm_regmap_init()

Tom Rini trini at konsulko.com
Fri Jul 16 17:51:39 CEST 2021


On Thu, May 13, 2021 at 07:39:22PM -0600, Simon Glass wrote:

> The devres_alloc() function is intended to avoid the need for freeing
> memory, although in practice it may not be enabled, thus leading to a true
> leak.
> 
> Nevertheless this is intended. Add a comment.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reported-by: Coverity (CID: 312951)

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/20210716/c9f40aa5/attachment.sig>


More information about the U-Boot mailing list