Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp314104pxu; Tue, 6 Oct 2020 07:07:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0CnVQLUlAbNjVEQh/9wWgjgUnqE8O4bI79Haez3yx5tUla1SolanuSf/pg+vVQjtL+N15 X-Received: by 2002:a1c:f415:: with SMTP id z21mr5039593wma.88.1601993264579; Tue, 06 Oct 2020 07:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601993264; cv=none; d=google.com; s=arc-20160816; b=qnj+CVkZMTmw6xsaYKuSIreyzkd1xkN8HyX+2XCxQTWJSzx8OjgdFh0Dyi42EvOeIE pu5pLap1fBs7crA4nfNFIo4dStgVTrH1tk6+KGsJzCSwUErmHAHcNxbYyC+IvHc8OxVZ mKcRcAWjz2MjVbKWK8u3ZI/DMaKtEHrpHVU4tOOFet8mD8WEUi7ZbfwP0NLKIGbbsI4S DaK46O+Y9kBbes0oVQ1yS/lvPKVU5Y40QLfC7fGWDboqjR1p3e+bSJvkj/v52itb1C9w mjiWCi3xf/A5P8mi66cdBIvzHxGW+LVnSod2YwvlH0Qf1ij1nKvmKQ4FQcwXYc7TIvuq mLhw== 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=eIR9vb7S/iO9UGc30LOwn4Oj3/IIjZIPhugEl0mn1rA=; b=QfQP2rsiEBa1iute0H3f3K551xNEW5ABWoTwu6JNeLud8klOCWLBs+iQXQeQaJRWS7 sDWwrApIMj9oyN4mmPE7Erf9psRicctPrnVx8zqvPvoOTMe+e626qSrXD/nXs/4zbuS4 5+hDpUawizz4qptAZaJdHqZNTYsM/54FwO5CLFVsuyczrP3kM6YtOPUb3TFZDYYY4BwZ jjeHiGVolYd9y3GIHGikXgxQn155j8NGIs1WKjuRpGFEl6/+qgciJNc4lIWoAvX/23U5 9ENs6Wqw8GpG//T2gl+foY2SLju5lLb7xmsuK290S9tcrw1KVR/mhBEIRBRm203l5M3M I93A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GbK6Bxye; 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 li15si2101215ejb.166.2020.10.06.07.07.10; Tue, 06 Oct 2020 07:07:44 -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=GbK6Bxye; 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 S1726815AbgJFOFQ (ORCPT + 99 others); Tue, 6 Oct 2020 10:05:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:33532 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbgJFOD4 (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 1048F208FE; Tue, 6 Oct 2020 14:03:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601993036; bh=i1ehfJ5a+ArhUT+7IpeOP77r+VemFZ1XPuELZc8RizM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GbK6BxyeQIeAqD4ut5Cmfa04waJ9DVyqRpsYzVb9nWxb1wPc1jcYk5MmUc9eIXSjD t+Zmjb3PMhCCdDZsB44Yqj4yxSqTgYKjCluYCSXukebFi4DmjDWIOz3GXQFE+HJIgC MFG09PpHYw4Tjss+5smPSQ4clv5oyYaw2my4vPwk= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZI-0019GK-MY; Tue, 06 Oct 2020 16:03:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , Moritz Fischer , Tom Rix , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 40/52] docs: fpga: replace :c:member: macros Date: Tue, 6 Oct 2020 16:03:37 +0200 Message-Id: <89beed7f70ae8ae388fe25b004bd1afd4dccc425.1601992016.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Those macros are not doing the right thing with Sphinx 3, causing parse errors: ./Documentation/driver-api/fpga/fpga-mgr.rst:104: WARNING: Unparseable C cross-reference: 'fpga_manager->state' Invalid C declaration: Expected end of definition. [error at 12] fpga_manager->state ------------^ ./Documentation/driver-api/fpga/fpga-programming.rst:18: WARNING: Unparseable C cross-reference: 'fpga_region->info' Invalid C declaration: Expected end of definition. [error at 11] fpga_region->info -----------^ ./Documentation/driver-api/fpga/fpga-region.rst:62: WARNING: Unparseable C cross-reference: 'fpga_region->bridge_list' Invalid C declaration: Expected end of definition. [error at 11] fpga_region->bridge_list -----------^ ./Documentation/driver-api/fpga/fpga-region.rst:62: WARNING: Unparseable C cross-reference: 'fpga_region->get_bridges' Invalid C declaration: Expected end of definition. [error at 11] fpga_region->get_bridges -----------^ Replace them by :c:expr:, with does what's desired. Reviewed-by: Moritz Fischer Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/fpga/fpga-mgr.rst | 2 +- Documentation/driver-api/fpga/fpga-programming.rst | 2 +- Documentation/driver-api/fpga/fpga-region.rst | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/driver-api/fpga/fpga-mgr.rst b/Documentation/driver-api/fpga/fpga-mgr.rst index 22f7885b32c9..917ee22db429 100644 --- a/Documentation/driver-api/fpga/fpga-mgr.rst +++ b/Documentation/driver-api/fpga/fpga-mgr.rst @@ -101,7 +101,7 @@ in state. API for implementing a new FPGA Manager driver ---------------------------------------------- -* ``fpga_mgr_states`` — Values for :c:member:`fpga_manager->state`. +* ``fpga_mgr_states`` — Values for :c:expr:`fpga_manager->state`. * struct fpga_manager — the FPGA manager struct * struct fpga_manager_ops — Low level FPGA manager driver ops * devm_fpga_mgr_create() — Allocate and init a manager struct diff --git a/Documentation/driver-api/fpga/fpga-programming.rst b/Documentation/driver-api/fpga/fpga-programming.rst index f487ad64dfb9..002392dab04f 100644 --- a/Documentation/driver-api/fpga/fpga-programming.rst +++ b/Documentation/driver-api/fpga/fpga-programming.rst @@ -15,7 +15,7 @@ the FPGA manager and bridges. It will: * lock the mutex of the region's FPGA manager * build a list of FPGA bridges if a method has been specified to do so * disable the bridges - * program the FPGA using info passed in :c:member:`fpga_region->info`. + * program the FPGA using info passed in :c:expr:`fpga_region->info`. * re-enable the bridges * release the locks diff --git a/Documentation/driver-api/fpga/fpga-region.rst b/Documentation/driver-api/fpga/fpga-region.rst index 3e52be7e2968..363a8171ab0a 100644 --- a/Documentation/driver-api/fpga/fpga-region.rst +++ b/Documentation/driver-api/fpga/fpga-region.rst @@ -61,9 +61,9 @@ during the region's probe function. The FPGA region will need to specify which bridges to control while programming the FPGA. The region driver can build a list of bridges during probe time -(:c:member:`fpga_region->bridge_list`) or it can have a function that creates +(:c:expr:`fpga_region->bridge_list`) or it can have a function that creates the list of bridges to program just before programming -(:c:member:`fpga_region->get_bridges`). The FPGA bridge framework supplies the +(:c:expr:`fpga_region->get_bridges`). The FPGA bridge framework supplies the following APIs to handle building or tearing down that list. * fpga_bridge_get_to_list() — Get a ref of an FPGA bridge, add it to a -- 2.26.2