[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZ43P1bV8vBbMmjg_SOnd9qCPYa-sJnJDv2pjV7=G9U_w@mail.gmail.com>
Date: Fri, 17 Feb 2012 19:46:57 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Grant Likely <grant.likely@...retlab.ca>,
Linus Walleij <linus.walleij@...ricsson.com>,
linux-kernel@...r.kernel.org, patches@...nsource.wolfsonmicro.com
Subject: Re: [PATCH] gpiolib: Add comments explaining the _cansleep() WARN_ON()s
On Fri, Feb 17, 2012 at 7:46 PM, Mark Brown
<broonie@...nsource.wolfsonmicro.com> wrote:
> I've seen users getting very confused by the WARN_ON()s for can_sleep
> GPIOs in the atomic-safe paths, the discoverability of the non-atomic
> version of the API seems to be hampered by the fact that it's defined
> in a header file not the .c file where the warnings are.
>
> Add a couple of comments next to the warnings to help people on their
> way.
>
> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists