Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp317105pxu; Tue, 6 Oct 2020 07:11:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDdJSyiWhJmGqwExq+iG+oKfOp3qbmMtz6/DgCbsY+pu+ARyWaGJ+WEsWUWPvdTaO79lSN X-Received: by 2002:a1c:7308:: with SMTP id d8mr5085847wmb.55.1601993466139; Tue, 06 Oct 2020 07:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601993466; cv=none; d=google.com; s=arc-20160816; b=0c3dPbhRujc0R2x5i9b1GUXRg/UIkb3yU4doqNO+7ZV5hBi3W0BVe93YIsbSuS5JXD 40H/hnylTnq5kwrvilCP8MSzXBfWaW+0bxISQXticK9wSlbxkorfx282fRHNVO2vq9Fu tvKliBGcNLF7Gp6DpBtvyWHCVPnbS6u/dYI1yNBfCxeHd5DmQZo4N4YQGEJBzcqDyhqj FNSU8q/lfbStUg0D6/dcNz64CZ8YVF2lsy47QPV7705RV4zurOOmcL1m1k91/HEKM6pa 7v2+snNIkV316XKsiG1uERJ6nAOxzWLYx3gb3WvEOV929IRCZtiisUZTdJmrQHNwsitO ZcOw== 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=J67T2yKtOklVDCD+u/Q9EkkUTRGvPFQpYouMY3dKxZY=; b=jUgHOBNKd+RTxc2yc24Lv7mJnnYaCxQOu9STr9RpLnPrGVAOnTLedyvMoM/TCBnH29 tzgm+adpxAyQe/eqZ41szZEzxZe0bYC/mg6BvLQsdhsGz/xjn1E3vHApL2ypNktLMkXw V2tojZOjZgMOSxCW8P/usS27/5neLULlveVcDoFiy/v+eJZEYdj6kTWVqVreW7f8eVfo Wh0jDe3zm+muwHsObTELmxx4SGUCgh/PIE7ByFxodB7w6sd84uTiiQYwIsgYS4vkt2B1 4SezRDac6PseieSIm59rsTEs/+CxCcgkoYf1oytWxZTWbqQdvGmEIBQPC400oV1Sl8FY i1Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FLIJBHjX; 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 b14si2083083ejj.36.2020.10.06.07.10.42; Tue, 06 Oct 2020 07:11: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=FLIJBHjX; 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 S1726623AbgJFOGg (ORCPT + 99 others); Tue, 6 Oct 2020 10:06:36 -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 S1726447AbgJFODz (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 88DB1221E8; 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=A7lLnKa6YyaQtK0OX9oslHuXqmGCRzRwzf23PGqcyNU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FLIJBHjXP4tQqLH8f7Zx0MdCgakBfymVE62vPKezw23ZYMLqSvdTnTpAT8BiAsNWd UF3v3zRYCYXZguxRqaA5VUQw6gVYk5qS/F9vz4b3xt84u7QuvyNf9Lem7NtDebCIrc qodtyltH15IfX8geX+AIVPVHv4ivOy2cBQGVAOfs= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZI-0019G0-FU; Tue, 06 Oct 2020 16:03:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , Anton Vorontsov , Colin Cross , Kees Cook , Tony Luck , linux-kernel@vger.kernel.org Subject: [PATCH v5 34/52] docs: pstore-blk.rst: fix kernel-doc tags Date: Tue, 6 Oct 2020 16:03:31 +0200 Message-Id: <47312ffe217bdb4d77f03889a360addb48fffd22.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 There is currently a problem with kernel-doc tags from blk.c: .../Documentation/admin-guide/pstore-blk:239: ./fs/pstore/blk.c:175: WARNING: Duplicate C declaration, also defined in 'admin-guide/pstore-blk'. Declaration is 'register_pstore_device'. .../Documentation/admin-guide/pstore-blk:239: ./fs/pstore/blk.c:432: WARNING: Duplicate C declaration, also defined in 'admin-guide/pstore-blk'. Declaration is 'register_pstore_blk'. .../Documentation/admin-guide/pstore-blk:242: ./include/linux/pstore_blk.h:43: WARNING: Duplicate C declaration, also defined in 'admin-guide/pstore-blk'. Declaration is 'pstore_device_info'. Basically, the internal parts is shown with :export:, instead of :internal:. Yet, there are some other exported docs that aren't at the document, because they lack :identifiers:. So, instead, let's just use :export: at the kAPI part of the documentation. Acked-by: Kees Cook Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/pstore-blk.rst | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Documentation/admin-guide/pstore-blk.rst b/Documentation/admin-guide/pstore-blk.rst index 296d5027787a..6898aba9fb5c 100644 --- a/Documentation/admin-guide/pstore-blk.rst +++ b/Documentation/admin-guide/pstore-blk.rst @@ -154,17 +154,11 @@ Configurations for driver Only a block device driver cares about these configurations. A block device driver uses ``register_pstore_blk`` to register to pstore/blk. -.. kernel-doc:: fs/pstore/blk.c - :identifiers: register_pstore_blk - A non-block device driver uses ``register_pstore_device`` with ``struct pstore_device_info`` to register to pstore/blk. .. kernel-doc:: fs/pstore/blk.c - :identifiers: register_pstore_device - -.. kernel-doc:: include/linux/pstore_blk.h - :identifiers: pstore_device_info + :export: Compression and header ---------------------- @@ -237,7 +231,7 @@ For developer reference, here are all the important structures and APIs: :internal: .. kernel-doc:: fs/pstore/blk.c - :export: + :internal: .. kernel-doc:: include/linux/pstore_blk.h :internal: -- 2.26.2