On Thu, Nov 28, 2013 at 8:16 PM, Ezequiel Garcia
<[email protected]> wrote:
> Hi Linus,
> On Sun, Nov 24, 2013 at 09:37:45AM -0300, Ezequiel Garcia wrote:
>> These warnings can be very spammy, since they could be called from
>> kernel threads. Use WARN_ON_ONCE, which is enough to warn developers
>> about the 'can_sleep' usage.
>>
>> Signed-off-by: Ezequiel Garcia <[email protected]>
(...)
> Any comments on this?

I'm a bit hesitant because I don't know the conventions for WARN_ON_ONCE()
vs WARN_ON().

I'd like some wider input if possible, Alexandre, Grant, what do you say?

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to