Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41c31f6a authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Jonathan Corbet
Browse files

Documentation: devres: note checking needs when converting



There are a number of cases where conversions to devm_* API have been
done but developers forgot that this conversion may imply that return
values need to be checked for failure of internal resource handling
like allocation. While this should be clear, it does seem to be a
relatively common issue with API conversions or maybe "managed" is
being misunderstood ? So add a note to make the scope of "managed" clear.

Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent fdf0345e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment