Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1570794

Re: [PATCH] gpiolib: Fix a WARN_ON that can never trigger

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] gpiolib: Fix a WARN_ON that can never trigger
Date 2017-01-31 15:50 +0100
Message-ID <t5HUR-1S1-7@gated-at.bofh.it> (permalink)
References <t4dma-3Gl-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jan 27, 2017 at 12:56 PM, Christophe JAILLET
<christophe.jaillet@wanadoo.fr> wrote:

> "if (!x) WARN_ON(x)" can never trigger.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

Good catch.

Patch applied.

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] gpiolib: Fix a WARN_ON that can never trigger Linus Walleij <linus.walleij@linaro.org> - 2017-01-31 15:50 +0100

csiph-web