Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp413975ybh; Wed, 18 Mar 2020 02:16:09 -0700 (PDT) X-Google-Smtp-Source: ADFU+vupKc3C4Kmk9cN2QcT2lqNiatZOJmcQjH21b3ZO10sWy2cljpP+BlI1t0yl/86DQD0SdB0W X-Received: by 2002:a9d:65ca:: with SMTP id z10mr3216751oth.244.1584522969469; Wed, 18 Mar 2020 02:16:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584522969; cv=none; d=google.com; s=arc-20160816; b=JhloT+hnv2K/tCeJn/clK5CqgFyltm4O5ICD+qxxSO0LzAaCS3UBjNpKV9q7NRhs47 CuY61SquCNir7mSup4TOmzv9r2xQU8UPRrCN9DIO/S1/E7jk9r7Q8T/7Y2r5vnNSFVWq JL17OoK+YPh7tjrATZhrQxA/q8sIr1DRkCcMWij2nwURZeSHdZgLjn1hv5vmJ/rw7OF1 iIlnl7Lcj+XdinWlUmh0wgHfI+s3P9gp0X93Eiz2DVgegAyR0Pzk8n14M/27NEDzxZJ3 EomfP8gjIzIrjmaaIY1pg+HmFkbVQAehoeWX0EcFRZRMOG0Bn5b1F4OvSTcBo02lltSr lt/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=8+ePRCjp2COuxHOwe4fehGApC+vyauxE5AKc9JXm2Bc=; b=Qhx498EnyLTd2ltrT7TUP3Rvf20+IRSDLgVkPps8RNdqPoLXvtLs8tl0vb7kffB7NH XY1hlG6803nKNWauQxRUpC/c0xze3GCVIPum5izXF0LNHZpZUU4zT6z3mCZzG5q3dXA1 rGeaoMf9BjC9EBfkqlGMlnY1a7eXNIp8gVcjB97qW5fIzi/l0r3IDb1vAiyInb4rgE6n EJ2iGTOiQEwTsVPHVm4Xclaf6HnfEQSx2HqRrc4gNEhfDBUUtDRK8pDKpmceS6mCIeiq oAFlXvXsqJxgA7PfHgdoa9KU3pdtPiMISkhh2k885j0NstA4V4IJsKRZ1uC1OQqxP32Z Sdgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=QJqSNg8P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a4si3184139otf.90.2020.03.18.02.15.56; Wed, 18 Mar 2020 02:16:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=QJqSNg8P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727437AbgCRJPa (ORCPT + 99 others); Wed, 18 Mar 2020 05:15:30 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:36681 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727168AbgCRJPa (ORCPT ); Wed, 18 Mar 2020 05:15:30 -0400 Received: by mail-qk1-f194.google.com with SMTP id u25so37511792qkk.3 for ; Wed, 18 Mar 2020 02:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8+ePRCjp2COuxHOwe4fehGApC+vyauxE5AKc9JXm2Bc=; b=QJqSNg8Psy4iKtjCBvszKB2g2XSpz9hUQBtOUZRdQsBtrZF/T5Vkx30wbzKCtfTnMv HX9EgYZNdRvnkRyxansVwKdnvaIVQ69xRf5SHo6o9rr8nB2nq/r0TtpsaPkFnszstZD+ YI5dw0bxrtOBN7cMH4nKiW1GrnGWMEPu4wB/rZ4cZJPGt/BiLvg97OBHd4gNwvf5e1HP LCI3txsnGbaQBmw5BTW4NaroF79V/WoRY6qzU8xMXhdNjuvqs9KjvjHNTRHJkNnob80I AXleCzpdbpi8fWr5pO4IBOFBFRmmtiG+p0HlCKaqs2Nm2RVxsCbOQedeixq8BvW7fsFe TY7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8+ePRCjp2COuxHOwe4fehGApC+vyauxE5AKc9JXm2Bc=; b=e+dpIkLJcnmrmx7LIsfWqPCO9NQbblCaTTGwAA7KnYL0bvuKyLwzCKlFqJnEISawq/ AXinC5g+2BpWr6wh23+cyLYBOhOwfEIg0f8Dx1yF38ltSveFpXkmWX8XfP/8RBc1lsI0 16aO4zMS4tKj/GJZmk+Xs4ygFUq4CqLhvuWoKe9xyO3C9B0bmOg5XVsUy16+1pB/PXKx gpEXazmwj0XmP71LKQxIqWEHZ/VVNJuBKYtUoq31KNlpwlOeh24kAREmqf+qYODLOW4H 9ifykjUtf/gUO/LJ5/TZFrXFigX9LnAtClK1f1ySEqst3ly78jCzK1O3k+HrNqGCNqcL xLVg== X-Gm-Message-State: ANhLgQ0m6ukMaNe4rFAtC5E8+0dWBnzUPhrM+wUed5B9dduE42KMq/7c oHu6+kQrnf/ZXSFf50RaeEi5OQs6gW/7njg19nylMxwT X-Received: by 2002:a37:3c9:: with SMTP id 192mr3031931qkd.330.1584522927690; Wed, 18 Mar 2020 02:15:27 -0700 (PDT) MIME-Version: 1.0 References: <51197e3568f073e22c280f0584bfa20b44436708.1584456635.git.mchehab+huawei@kernel.org> In-Reply-To: <51197e3568f073e22c280f0584bfa20b44436708.1584456635.git.mchehab+huawei@kernel.org> From: Bartosz Golaszewski Date: Wed, 18 Mar 2020 10:15:16 +0100 Message-ID: Subject: Re: [PATCH 12/17] gpio: gpiolib.c: fix a doc warning To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , LKML , Jonathan Corbet , Linus Walleij , linux-gpio Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org wt., 17 mar 2020 o 15:54 Mauro Carvalho Chehab napisa=C5=82(a): > > 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-strin= g without end-string. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/gpio/gpiolib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c > index f31b1d46599e..74d8973025da 100644 > --- a/drivers/gpio/gpiolib.c > +++ b/drivers/gpio/gpiolib.c > @@ -136,7 +136,7 @@ EXPORT_SYMBOL_GPL(gpio_to_desc); > * @hwnum: hardware number of the GPIO for this chip > * > * Returns: > - * A pointer to the GPIO descriptor or %ERR_PTR(-EINVAL) if no GPIO exis= ts > + * A pointer to the GPIO descriptor or ``ERR_PTR(-EINVAL)`` if no GPIO e= xists > * in the given chip for the specified hardware number. > */ > struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, > -- > 2.24.1 > Reviewed-by: Bartosz Golaszewski