[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181206101420.24aad198@lwn.net>
Date: Thu, 6 Dec 2018 10:14:20 -0700
From: Jonathan Corbet <corbet@....net>
To: Nicholas Mc Guire <hofrat@...dl.org>
Cc: Philippe Ombredanne <pombredanne@...b.com>,
Andrey Smirnov <andrew.smirnov@...il.com>,
Uwe Kleine-Knig <u.kleine-koenig@...gutronix.de>,
Linus Walleij <linus.walleij@...aro.org>,
Huang Shijie <sjhuang@...vatar.ai>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Documentation: devres: note checking needs when
converting
On Sat, 1 Dec 2018 13:44:29 +0100
Nicholas Mc Guire <hofrat@...dl.org> 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@...dl.org>
Applied, thanks - let's see if things get any better!
jon
Powered by blists - more mailing lists