Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3861574ybh; Tue, 17 Mar 2020 07:56:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vto+Whd826YmkxMN2DxvibIW32EfyxJiwVTExKuHB9TTXBNAKs8j8B6m77wpZz0N7qIm2fP X-Received: by 2002:aca:c256:: with SMTP id s83mr3961514oif.57.1584457016841; Tue, 17 Mar 2020 07:56:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584457016; cv=none; d=google.com; s=arc-20160816; b=Iqp4jJH8ivIjSCimfn1pYTPxFVuTQvySdQlS8SDg52PgmPzEkzrWM8NYz2Sjr63W7K Go3I571teq8r/ziEo+8qCCN/NI0D8ybNfIclz72pHYaW/OAyyea0TKpUT+2dNDJt6H09 tHxtKMcJR5bIIWgkdHO61UGdzZAgl01hgO+8RrHe+36ARa2WMF7/9vj+QsnGykiB+WRy PSIsqihSkfl6eXk2P7xCmIRRlEz6DMyNidGkiC/uLFrLFfTgIyiCqiBJXJMpkQrar7CQ J5iJGbZdcxOeJns3u73+BTWR0wJly49gEKZrjiEdhghcjvTU1z9OxxFGjeEtE9K1EDcm 7uHw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FZp3vpin4nRXokD3fi+0j/e4POM7PQiA2o/7N9YMFm8=; b=rIGPC0MRge5Vz8h+o9eJPo6M6XYlriVeoIkgBUAOsbtiLE50rvbLCbKEE2M5/B54C9 CEuEa7B5aDEA56ykbofvU3QbWX2/aRUiBNtwiXGdBfZFhIs1LHTJ3jpZpQJ3Ey3TYgys tnZiAeUI2MvXta600FzgKfGZaiIXrbqwS7jDZV0YAm6ZHKIl4GBAt2m2R2eMloAqt0TW fUAZPJCHz5a9hLbYD6bRNgA0RXvMSeq0Y1JZlHdLdBBCLNrEV+3lJ58ojoaIE80rLq3r HxEDi2z476r7lQxEjuNDX+2QTuW9E0ooWsmePkOl2KQ4n/W/fDUmuCX1odZZL2gCZBvD GKZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=m8ldmA9D; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si1680635otk.154.2020.03.17.07.56.44; Tue, 17 Mar 2020 07:56:56 -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=@kernel.org header.s=default header.b=m8ldmA9D; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727269AbgCQOzT (ORCPT + 99 others); Tue, 17 Mar 2020 10:55:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:43612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726922AbgCQOyb (ORCPT ); Tue, 17 Mar 2020 10:54:31 -0400 Received: from mail.kernel.org (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B232320774; Tue, 17 Mar 2020 14:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584456870; bh=0AuL5ik1PkjJ+CosUbhOjV9BkLKR6KOQzFJir/RXkZg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m8ldmA9DU/iSxsfnETccdctspko9w3ZRBbUmLw54wnHXP3hLUrbXj27KYlCBcQIGu wPbAvFJvAaPuUKtwJqRau9wtNa4BUEE8ed5Y1Rz+z25ju6vnRvr7mAT0GHq8mh3cvX zK8bmMlESnTs+4IeG7gojw74UawFtBD5ikVvjA2k= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jEDbw-000AN5-Px; Tue, 17 Mar 2020 15:54:28 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org Subject: [PATCH 12/17] gpio: gpiolib.c: fix a doc warning Date: Tue, 17 Mar 2020 15:54:21 +0100 Message-Id: <51197e3568f073e22c280f0584bfa20b44436708.1584456635.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 exists + * A pointer to the GPIO descriptor or ``ERR_PTR(-EINVAL)`` if no GPIO exists * in the given chip for the specified hardware number. */ struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, -- 2.24.1