Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4716488pxk; Wed, 30 Sep 2020 09:50:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMNbVlaGrAays46Yw/59/ZDw6XtGuY+UuRDdj+UOq3AF73E8UmZD00ELmFaI+aJDP7CUE6 X-Received: by 2002:a17:906:2c01:: with SMTP id e1mr3868715ejh.128.1601484600223; Wed, 30 Sep 2020 09:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601484600; cv=none; d=google.com; s=arc-20160816; b=ZC1zkJip0cfzbqprdQa4dtjc08pyqdK0ssyIsHzo52W+sphrvVK+B3WvRcrIiGIWj8 fbRR3G7Y6yRbCRQoWJVLXaBmDt7N6DOzksNCrgsMhEfmsKFooGeFk393eKfY+pfdnz0l 1tnV7g8UPO5W4ww+/xA9PKUmI7p1ykjHqKBkYFXc/2XfFY70AcNVsZXaK9TRMLA6eNNz 9UA8XIZVuLJEo5/OMSA6Ytf2YEwVClK8It6m6EiWdD8PA+EyQgktWYMvFsZxMaLH3X/r Ylt7/swXQBxbui9Rdjx3w14HWSZ75suUZoRzxx3J/CddRVYP54QXca/8xccR9iwvUuK2 9FRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=VAzeWIfJp4DgzkR6ZsabzWrvNAjzUoQH55PC3d+4P5c=; b=B//m29kKqPOQ+Yfzt33zp7ABvegH3M4C6uRkKV7phQcfUKGg3/d0/0uPhv9DgAEyig 1q93Nf0TvsFVV99XAV/KtPETDvsGC9OS0TfTugU8T4RzAOxsa4EAeg1+T0yigWvS53U+ Nt9F8KlRDJCC1skGHGW3QiB1kYQPZZmrXr7jitSrnaOw6KCTk09PvxSXmTwVr//umFLS 1TaH11Yq8LBmQW3kKjRTHkhN1E9AJgxGH1RAtJjVX6Naj6KMnR0+YBJcaJARr33KhvHw /VMNNx0IyvFYJ/q61wPyTY1XgjRYtMbqxD13y5tbbcU3JyV0w481/iCxPf51w0AO8JzB YOBQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z6si1498487edr.566.2020.09.30.09.49.37; Wed, 30 Sep 2020 09:50:00 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730632AbgI3Qse (ORCPT + 99 others); Wed, 30 Sep 2020 12:48:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725823AbgI3Qse (ORCPT ); Wed, 30 Sep 2020 12:48:34 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C817C061755; Wed, 30 Sep 2020 09:48:34 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: tonyk) with ESMTPSA id 40CC129CD44 Subject: Re: [PATCH v4 38/52] docs: block: typec_bus.rst: get rid of :c:type To: Mauro Carvalho Chehab , Linux Doc Mailing List , Jonathan Corbet Cc: Jens Axboe , Randy Dunlap , linux-kernel@vger.kernel.org References: From: =?UTF-8?Q?Andr=c3=a9_Almeida?= Message-ID: Date: Wed, 30 Sep 2020 13:48:25 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/30/20 10:25 AM, Mauro Carvalho Chehab wrote: > The :c:type macros are not used properly there, as reported > by Sphinx 3: > > ./Documentation/block/blk-mq.rst:112: WARNING: Unparseable C cross-reference: 'hctx->dispatch' > Invalid C declaration: Expected end of definition. [error at 4] > hctx->dispatch > ----^ > > Also, they won't be generating any cross references. > > So, replace them by a literal markup. Your commit message says "docs: block: typec_bus.rst: ...", but the name of this file is "blk-mq.rst". > > Signed-off-by: Mauro Carvalho Chehab After solving the issue above: Reviewed-by: André Almeida > --- > Documentation/block/blk-mq.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/block/blk-mq.rst b/Documentation/block/blk-mq.rst > index 86a632af02b0..a980d23af48c 100644 > --- a/Documentation/block/blk-mq.rst > +++ b/Documentation/block/blk-mq.rst > @@ -110,9 +110,9 @@ block layer removes requests from the associated software queues and tries to > dispatch to the hardware. > > If it's not possible to send the requests directly to hardware, they will be > -added to a linked list (:c:type:`hctx->dispatch`) of requests. Then, > +added to a linked list (``hctx->dispatch``) of requests. Then, > next time the block layer runs a queue, it will send the requests laying at the > -:c:type:`dispatch` list first, to ensure a fairness dispatch with those > +``dispatch`` list first, to ensure a fairness dispatch with those > requests that were ready to be sent first. The number of hardware queues > depends on the number of hardware contexts supported by the hardware and its > device driver, but it will not be more than the number of cores of the system. >