Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp316222pxu; Tue, 6 Oct 2020 07:10:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwgVcKWDo48XCXGLkxlu/XJ4XlY/p3vGxDXfed7CeEjFBvvoKwBPwT4ak6Kh43c/4K6NGr X-Received: by 2002:a17:906:5008:: with SMTP id s8mr5693415ejj.408.1601993406703; Tue, 06 Oct 2020 07:10:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601993406; cv=none; d=google.com; s=arc-20160816; b=llgTSIXPvTgFeoziqmcA4UeuA2yJHgJGDBUJZCLDVP2HFvwb9EetlB6rRgs6XvqWff NKhNEp4GfJSovweJm6RYq2n2mXvWc5pQjggUvvPrR/zD68Db55CZNWolNX32UBJfNnFo MpAAbhwGtRPPimZlJcfSyreNtM8zSCHhn9/ek9OJaeDJtcFEf2VteqhzbGw9+Ze8YWPT W133qHZkyp9Hqc0382H6btWugIcum+8NJfpgn7d98NKIE8/C3NK+79u4kQ2NJJo4pFmQ 6ofipFGT+T/L6cPL9vc5sEAwnf8HyMmWhbQUY4sZUSqnEbX2eV7NNiR9xnmc4+mDHcy9 5pVQ== 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=etPTuLTCzI0Cl0HTTN5O8/sN+esKQb45/NHuLaQQwXE=; b=xD8H8IjlN6fHVFoCjA7O+qfhelxcN53HyBu1jgOPBVZR+FFIym4PZViUMDdkbnV9mS oZkXtllEn5vQgQ2TrmP4Hyan9xdI1oMqL1Ikc0Tz3Z0bC8ZyESyuWaxtU+qkdIplj+ns ZzAbXSnh0tc+9F1xrmmked6nO7GcLOt8Dm2rlgrTITwBziGBYest+AyCw1HWsHd1yXTn ZFH3ieN9toHIfA5qiseb4A3cB69KyUWMPgiQJcaR/RXSy8wiwAjcdstoUNU4ho1oaS/F hF9v/RufjyX3yc12odMfhM6lvzpD5iaCWH6QdOm0LyWK6BoEBR+4BKHfUf3wr+lJuNKd Obpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z2dlbvRA; 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 x19si2436806edi.425.2020.10.06.07.09.38; Tue, 06 Oct 2020 07:10:06 -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=z2dlbvRA; 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 S1726878AbgJFOFk (ORCPT + 99 others); Tue, 6 Oct 2020 10:05:40 -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 S1726482AbgJFOD4 (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 B596822262; 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=1601993034; bh=uaW4C+I+Tu+DdiBRbypIkyBAmHzHYL3ISOLOIWi0ZTU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=z2dlbvRA/Z3Bblw4X+hPQskEe3AJXsGN7sMQcBPgrDVW1tS5C6MXNlbJMJPG/wWLH s65+8xdTO5YswZ8qmYAxBs0pc1ixv6BEy6hB797wtikfhIp1MKB6agPm+fjTbDQW0q VvHC2ze74/5XoE6D0x+0a6CJaC8r2NtwBKYhqKOw= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZI-0019GO-OG; Tue, 06 Oct 2020 16:03:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , "Martin K. Petersen" , Jens Axboe , Jiri Slaby , linux-kernel@vger.kernel.org Subject: [PATCH v5 42/52] docs: libata.rst: fix a wrong usage of :c:type: tag Date: Tue, 6 Oct 2020 16:03:39 +0200 Message-Id: <3446ae51c508f0f3a58826050828c24ba7b3a653.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 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