Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp317067pxu; Tue, 6 Oct 2020 07:11:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpnVC4USVLPcD0rA/PYa/jEHFNcR+bOG+zE5h9bQ28D5seGUCNS5yXwGbjnIrgXZTSS/2+ X-Received: by 2002:a1c:bcd5:: with SMTP id m204mr4960028wmf.26.1601993463804; Tue, 06 Oct 2020 07:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601993463; cv=none; d=google.com; s=arc-20160816; b=c/PGWTqGLFbU7lfl5r7ZRl7LNIa1rAVmhpWT9k/KhFAnPr8FVLjPEiS7BtvlgWCiNf XWUbuVk4DEj0De6Fs/vIL7t1NWClSbeFm4QgX++5SdiQnKD7ySM5XIah0tGljDaqUlLB O1eBr13ULbEHBjVOW2TAWG11SFyLSXI4YF87B6ZXyyMwIBp/KLxrGENBxne9V1pycqmf 7nBERIYhe4MpiP+RyLkeaTnbSU8+TuOMxnw87jAl3MwcClySL2YCzC8Cb+o2vsjviLy9 YYU1ErwN66bueowqrDky3ZEZ/c/fQ4jdxZMuLgG869v46R07XGN6i74ac/AfipiffeAj 2fAA== 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=GDXYRCupOXkyHpIu/TP1aXqgKSTA2ZM0ukb4oOSFIBM=; b=FQgeQe4p6H8o2Thng0tO3w+8KXOHh4d1ZhFtCA26ZJzhU17Cj8NZEE3GNxUjPacaXD BBTn2IaF5Twk0QCALa53TX6duGdiK4NAK2ialSVfsf/pdQmgbI6t9RI9/hon/Ds1avw7 47HF206eb/kS+CpBpKF/7lbGOYlScVNJ9/AgQCqt85yOGSIw5D/HS4zp9xFUSAxJGDnW TYCRIk2F/Hf4M5/D3jyAuqujL4iyNf0kM5vLtCrFEiy7nbPum5kee17AR0PcylvMBCcB y/gfsLomwly/45drFzsMjlcV2v/Dpw6Fl60WFAXvtlnyRIaLse1KMYtDIAINkHHIvd/N ePGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wP6bAD6x; 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 x8si467115edq.532.2020.10.06.07.10.39; Tue, 06 Oct 2020 07:11:03 -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=wP6bAD6x; 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 S1727090AbgJFOHL (ORCPT + 99 others); Tue, 6 Oct 2020 10:07:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:33310 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726319AbgJFODz (ORCPT ); Tue, 6 Oct 2020 10:03:55 -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 1159E2177B; 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=l4ZnRkqZgd8x5ZpSMUuNxg1b7AqKFMTZgq0sXQ4YesA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wP6bAD6xEOcw5oTTYqFoj6kuDr6q1/99hFiEUXQHbYTGTvUc+h3G9o+BHemRMhv43 k2Ae4CBNHvLKGtpymuRnVCsB5yx2AL8U6PYR/qtXGfltBYsoHdhUsfNCIfwDXetEed rdRBmaP6iPmteK2Y4dVzmNmq6uqaC7KNcuXvNEd4= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZH-0019FP-W0; Tue, 06 Oct 2020 16:03:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , Andrew Morton , Mike Rapoport , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH v5 20/52] memblock: get rid of a :c:type leftover Date: Tue, 6 Oct 2020 16:03:17 +0200 Message-Id: <79ad9b97a945f48620b200cd9866d2c5bcd44fb7.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 chanseset b3a7bb1851c8 ("docs: get rid of :c:type explicit declarations for structs") removed several :c:type: markups, except by one. Now, Sphinx 3.x complains about it: .../Documentation/core-api/boot-time-mm:26: ../mm/memblock.c:51: WARNING: Unparseable C cross-reference: 'struct\nmemblock_type' Invalid C declaration: Expected identifier in nested name, got keyword: struct [error at 6] struct memblock_type ------^ As, on Sphinx 3.x, the right markup is c:struct:`foo`. So, let's remove it, relying on automarkup.py to convert it. Signed-off-by: Mauro Carvalho Chehab --- mm/memblock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index 165f40a8a254..326c6b3fec1d 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -50,8 +50,8 @@ * * Each region is represented by :c:type:`struct memblock_region` that * defines the region extents, its attributes and NUMA node id on NUMA - * systems. Every memory type is described by the :c:type:`struct - * memblock_type` which contains an array of memory regions along with + * systems. Every memory type is described by the struct memblock_type + * which contains an array of memory regions along with * the allocator metadata. The "memory" and "reserved" types are nicely * wrapped with :c:type:`struct memblock`. This structure is statically * initialized at build time. The region arrays are initially sized to -- 2.26.2