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

2021-07-16 Thread Tom Rini
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 Gla

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

2021-05-13 Thread Simon Glass
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 Reported-by: Coverity (CID: 312951) --- Changes in v2: - Add a standard