From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5119C433E7 for ; Tue, 13 Oct 2020 11:59:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 87EB920870 for ; Tue, 13 Oct 2020 11:59:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602590385; bh=uaW4C+I+Tu+DdiBRbypIkyBAmHzHYL3ISOLOIWi0ZTU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=vXxgH4VOXChhxpg/VDz2EZMHtAYwaVjgengu58kmAIfKEKV60gLX4loVlEi7nAfLi h/L7FCLy9gzL1EGBvYzh3OAxt8YNS2gEvZQFsGV3N+/wwhdEDxenFyOYrWla3JwaSf ikxPK39a0wlC/SF34GYCdDSWGtbWSQDMx1CXjXXs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728619AbgJML7o (ORCPT ); Tue, 13 Oct 2020 07:59:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:57428 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727502AbgJMLyn (ORCPT ); Tue, 13 Oct 2020 07:54:43 -0400 Received: from mail.kernel.org (ip5f5ad5b2.dynamic.kabel-deutschland.de [95.90.213.178]) (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 DFA922240A; Tue, 13 Oct 2020 11:54:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602590081; bh=uaW4C+I+Tu+DdiBRbypIkyBAmHzHYL3ISOLOIWi0ZTU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jxv7HSmmnfarOXt56K2CKEs7FapeshUVwwY+Eg/bNBHbPnH5QDrnldK3HmzLNxREU o/LERtoU/8HVffNjY+mwhgJxynjhTtv+Y1OHasamMFfpR1B+PxjghpnI/3OzKPxqpf U1jE57cjdiyKvozL22lnhfM8vANst4qp6a4UiQmw= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kSIt4-006CV5-SQ; Tue, 13 Oct 2020 13:54:38 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Martin K. Petersen" , Jens Axboe , Jiri Slaby , linux-kernel@vger.kernel.org Subject: [PATCH v6 42/80] docs: libata.rst: fix a wrong usage of :c:type: tag Date: Tue, 13 Oct 2020 13:53:57 +0200 Message-Id: <854e3df68b24570e9271ebe3fd0d9d8c5470672b.1602589096.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-doc@vger.kernel.org The usage of :c:type: to reference to a struct member is wrong, as pointed by Sphinx 3: ./Documentation/driver-api/libata.rst:511: WARNING: Unparseable C cross-reference: 'qc->complete_fn' Invalid C declaration: Expected end of definition. [error at 2] qc->complete_fn --^ Instead, let's use :c:expr: for such purpose. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/libata.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-api/libata.rst b/Documentation/driver-api/libata.rst index e2f87b82b074..d477e296bda5 100644 --- a/Documentation/driver-api/libata.rst +++ b/Documentation/driver-api/libata.rst @@ -508,7 +508,7 @@ also complete commands. 2. ATA_QCFLAG_ACTIVE is cleared from qc->flags. -3. :c:func:`qc->complete_fn` callback is invoked. If the return value of the +3. :c:expr:`qc->complete_fn` callback is invoked. If the return value of the callback is not zero. Completion is short circuited and :c:func:`ata_qc_complete` returns. -- 2.26.2