Re: [PATCH] Documentation: devres: note checking needs when converting

2018-12-06 Thread Jonathan Corbet
On Sat, 1 Dec 2018 13:44:29 +0100 Nicholas Mc Guire wrote: > 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. Whil

[PATCH] Documentation: devres: note checking needs when converting

2018-12-01 Thread Nicholas Mc Guire
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 w