[PATCH v2 05/16] reset: Avoid a warning in devm_reset_bulk_get_by_node()

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


On Thu, May 13, 2021 at 07:39:21PM -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 to explain this.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reported-by: Coverity (CID: 312952)

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/6d4c2a52/attachment.sig>


More information about the U-Boot mailing list