Re: [PATCH] gpio: gpiolib: fix an incorrect use of WARN_ON()

From: Linus Walleij
Date: Mon Sep 12 2016 - 08:51:15 EST


On Fri, Sep 9, 2016 at 11:19 AM, Bartosz Golaszewski
<bgolaszewski@xxxxxxxxxxxx> wrote:

> This breaks the build due to the format string being passed as
> argument. Fix it by using WARN().
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> ---
> NOTE This patch applies on top of linux-gpio devel branch.

Thanks, Marc realized the mistake and sent a v2 patch so I
have already fixed this up, sorry for leaving the tree in a mess
over the weekend.

Yours,
Linus Walleij