Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4569827pxk; Wed, 30 Sep 2020 06:29:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxn9jTCp8aIC2impwTy5ODr5n67nUrCFGAXDCSYlWCmCqiYNoUFhARbjqipPScfpNOCsgab X-Received: by 2002:a05:6402:1717:: with SMTP id y23mr2886302edu.112.1601472590406; Wed, 30 Sep 2020 06:29:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601472590; cv=none; d=google.com; s=arc-20160816; b=ANu2ujFqP5bdYAwnm5+h4NOeQOvnbsZ0IAFNjJWEMOA15UMGVq/kEZmuqM/Hh7UEtk VFhfc0pthbWyBGv48DtMVo1KawE3a9vBH4/RYPCi1bM8qUpi5n6ovvFqPcoXPPMQMfx1 aL46OEhscy6FwT3D+Qpos+yFC5zzIX1uCQknjy2AY1cOd1JWT3grho+RcQX/qu8LntyO 9spy48UKXdKL1ncmEhsqk8tmqptAsiA/udOgR8U8+T/zh1L8q/XubUyu4j0NLxFHI0qX wsoNCcbw0kVtVfaqoCxfeM6i6EDlmg/54CcA7pQKOZD+XNBbLIGZFsxVTvPWApixiMGr UuRA== 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=6wcLaZHxQkFE4rQuR4lHyOlD0CYc1/y6Wz7Ntt1gJAA=; b=wRMnzhrVJHh5UozsJHJFLMaIjhCH+a8xvoPjhmuEUoAu3NlUMTJs93sNYN1p4eLRlX f28XD5TkEh7pmjvvhvbTWAMSKHMdAzqgxaqVkrLRl6C23L7ExCWarF2V+XIkSmskKHLQ +7DjTqGWdZCdpZipjcH6E6JH9JtAQJ08nI2J/0bsxD8rz14xQdkKuaA1UVSk4iNFD8i6 UPxuj1qY/WwUbxrR9Nuk5CWZoqY4R+WQr/tlgCVU512unUJWzS0Vpui3EcjhO5G9IQWq PjHCCHX0XrKwe1AYwrIponPHNMoFv48benW3D1Rhky3jiOw5C1o3rHh/0rwe0tFVURRm XWSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AKJZmTRT; 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 dn14si1192338ejc.236.2020.09.30.06.29.27; Wed, 30 Sep 2020 06:29:50 -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=AKJZmTRT; 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 S1730155AbgI3N11 (ORCPT + 99 others); Wed, 30 Sep 2020 09:27:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:39164 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730241AbgI3NZW (ORCPT ); Wed, 30 Sep 2020 09:25:22 -0400 Received: from mail.kernel.org (unknown [95.90.213.196]) (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 3A8E2238A1; Wed, 30 Sep 2020 13:25:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601472321; bh=8l322xMRtGPypOdLbQzXYtchEXuXc9pVzePOtmUf3FQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AKJZmTRT+hK7Pyx5HiEzmMKdLhmoIiszMA75dnqwwBhvNuLppDaU1HEGiy1BaP7ze FyEFrP11yankR345vRxkncEutxjo7bV+PieGa72SarRYTnpZzlO29R6kGDmk58aANa r8w8ZAW+mgO/SOhMoh14PK4uQu7TW8Gyu+AguMxU= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kNc6h-001XKb-D3; Wed, 30 Sep 2020 15:25:19 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , =?UTF-8?q?Andr=C3=A9=20Almeida?= , Jens Axboe , Randy Dunlap , linux-kernel@vger.kernel.org Subject: [PATCH v4 38/52] docs: block: typec_bus.rst: get rid of :c:type Date: Wed, 30 Sep 2020 15:25:01 +0200 Message-Id: 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: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. Signed-off-by: Mauro Carvalho Chehab --- 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. -- 2.26.2