Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp314191pxu; Tue, 6 Oct 2020 07:07:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWXIrkwjPFRaaNm63yX2Wd08szsZkQNNgoJygfjX9y2pj2Z+GS7cy+lT6v83BXRkAGpHPv X-Received: by 2002:adf:bc14:: with SMTP id s20mr5552497wrg.220.1601993271523; Tue, 06 Oct 2020 07:07:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601993271; cv=none; d=google.com; s=arc-20160816; b=Sxmze1pC5/686xBH/kTR2+ISfj1p+cR6KiAKoJ2YUW2TVuQNhcfOvRI8QS5O6GhD3/ YFU55TSSBE8+9hlz+xhUr/9iPp8EOok1FmMxDJz8IdOtETGpMV9oOCaoqltTOskeCsm4 zw5nc9hJL/jD1b45ZJwn+1GRHnh9gQgtX3ystNNnc9ZTKlS/gQJwW8EzbeuZtY41JDvb oB9/50TrvBNP0cqJ7WSGX0z0IhTfZKEMyXM9wIGcLsLCghyn0HexBJYEZIhUv0aCBy1A mugrOWnraeJDATtZ0eBd0hFcpH26QLZQpyrCJcOM0Fh6xA2zr7NrEK30gGRS4j6hsl0B T6fQ== 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=aVCBo60EFSMdLvAx8/5kjxSm7jd25CnLn26zoRnmCP0=; b=zoNbeQsy8cfa7RR0SqQnwzGwL2N6JTCvtVv97VcALZIz9+2PgqldeYaq+WKA2cbxbY XhQ7j2osQHpduUjJIYbrCZ50mxNlTFSe3VPvBk2NHP3ztE6A2JaQ3qnhG1j0jxaYT7Im w2FkPIqwkNan3jthh5J6cxAFpHmL9VFfvpA6MOtG2tfzp5M50hJNukDs5P0Fx+TftIq4 gTCMGT0SMBQS2vkes+1MHj/2egdsFeb6QwSpgJnkV3kH2ZRutjdUdwmSlhkZ2eMoxKAu ahzdpQiOZm5yi9wja5I/Bofxorjog3AClVWu1mxLuLyQcoZp+dF4dMClx6vJcB7lrytF tN7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SdDegMP0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id y17si2133635ejr.469.2020.10.06.07.07.27; Tue, 06 Oct 2020 07:07:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SdDegMP0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726798AbgJFOFL (ORCPT + 99 others); Tue, 6 Oct 2020 10:05:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:33692 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726517AbgJFOD4 (ORCPT ); Tue, 6 Oct 2020 10:03:56 -0400 Received: from mail.kernel.org (ip5f5ad5bd.dynamic.kabel-deutschland.de [95.90.213.189]) (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 EDB66235F8; Tue, 6 Oct 2020 14:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601993035; bh=/yU7lDdXaYHcK+bMjDe7N+/1v4CnA3kWBBNj3sy6md0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SdDegMP0mkdehRnjZZa15TtzOWud3y76vwTrkmnZ2bRB6gPCaCBKFK5k6E6GI/oi+ H0mlwtmMlNOxU4RMWAHBB1Qb/6AtnX3lnTizJucgimTmURHztpOedoeUuWQW3TaajP N0+nKdmfGSiZdjZbAlovBSZxTgzzyE8IsA0uE0Ew= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZI-0019GY-TA; Tue, 06 Oct 2020 16:03:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , "Rafael J. Wysocki" , Alan Stern , Alex Deucher , Bjorn Helgaas , linux-kernel@vger.kernel.org Subject: [PATCH v5 45/52] docs: devices.rst: fix a C reference markup Date: Tue, 6 Oct 2020 16:03:42 +0200 Message-Id: <1e8e06cf23a519116a882888475d37dfc5ab49b2.1601992016.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The C domain parser of Sphinx3 expects just function names for :c:func: markups: ./Documentation/driver-api/pm/devices.rst:413: WARNING: Unparseable C cross-reference: 'device_may_wakeup(dev)' Invalid C declaration: Expected end of definition. [error at 17] device_may_wakeup(dev) -----------------^ Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/pm/devices.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-api/pm/devices.rst b/Documentation/driver-api/pm/devices.rst index 4bda8a21f5d1..6b3bfd29fd84 100644 --- a/Documentation/driver-api/pm/devices.rst +++ b/Documentation/driver-api/pm/devices.rst @@ -410,7 +410,7 @@ On many platforms they will gate off one or more clock sources; sometimes they will also switch off power supplies or reduce voltages. [Drivers supporting runtime PM may already have performed some or all of these steps.] -If :c:func:`device_may_wakeup(dev)` returns ``true``, the device should be +If :c:func:`device_may_wakeup()` returns ``true``, the device should be prepared for generating hardware wakeup signals to trigger a system wakeup event when the system is in the sleep state. For example, :c:func:`enable_irq_wake()` might identify GPIO signals hooked up to a switch or other external hardware, -- 2.26.2