Re: [PATCH 12/17] gpio: gpiolib.c: fix a doc warning

From: Linus Walleij
Date: Fri Mar 27 2020 - 15:26:16 EST


On Tue, Mar 17, 2020 at 3:54 PM Mauro Carvalho Chehab
<mchehab+huawei@xxxxxxxxxx> wrote:

> Use a different markup for the ERR_PTR, as %FOO doesn't work
> if there are parenthesis. So, use, instead:
>
> ``ERR_PTR(-EINVAL)``
>
> This fixes the following warning:
>
> ./drivers/gpio/gpiolib.c:139: WARNING: Inline literal start-string without end-string.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij