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

From: Jonathan Corbet
Date: Thu Dec 06 2018 - 12:14:32 EST


On Sat, 1 Dec 2018 13:44:29 +0100
Nicholas Mc Guire <hofrat@xxxxxxxxx> 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. 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: Nicholas Mc Guire <hofrat@xxxxxxxxx>

Applied, thanks - let's see if things get any better!

jon