[lkml]   [2018]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Documentation: devres: note checking needs when converting
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. 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 <>

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


 \ /
  Last update: 2018-12-06 18:15    [W:0.038 / U:1.220 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site