Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp316554pxu; Tue, 6 Oct 2020 07:10:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiZeBim8kSII2DTvy5ujzCh7IXpSffkGJDne7rKPld4eX5PUho67K0P9WfMnup7FRQ4TSo X-Received: by 2002:aa7:df0c:: with SMTP id c12mr5743143edy.20.1601993428207; Tue, 06 Oct 2020 07:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601993428; cv=none; d=google.com; s=arc-20160816; b=ZOw4y7geNIP9s+NCs7E0ESA5Jewu8aj/quMPvf1Jvjvt3o59ytNLC9YVxHcpQG83GE cUcSul3+DJeFORDY8DovgMxZ80RefctVY86fF57ISQXrl7wjtdgDNRcbkcbJoprJGfiT wjNna+AeWXIFmDlUCh695wAMPzu2usohxdtDHyJD4vDK8reog97HM3QgH9PbH9WqI3mb buMNSp/zieTSEwzuGBJQcZdop3EtTmVQfHzWyuE33eJRn6Uvs45kO4BAXzhkF2KUlvKt cliYBJs583OlAgu5E9tO+H1FntGyo91UR86nE7dzTXIh3x+HrGSVTFUAm2buJpBt0tu7 t8Ow== 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=II+NnoMda0m/Oskwd2Mp2orQVwRxQaT/fMeTpe8Iqjk=; b=l5fmzwD2bVd3R64rfVVmnIhe+UHSD3iSv0EyCRd4IS6CqgsKjku/sFuyqaUA8Wz/ec aS46K2v6d4QpEG1NNDrb2RvEIaK12HuE/q+S/aGiTJiJOb37fQOB0rn2FFHziSK4auVU eBt8hYs1UGEFqfeCJb5LhQ+JQr0AkaXHz3Jne5i9srY6gtxXv0H3YLct+ncFgke3o9AA Hwj0lW1MeKP/BOqzPfWod4l6i1jPmNfzbewCNWUv7LmuDxTKoxq7JuX9PYTJShasqEyi hUdLHi8AlOhjIg/PRVCBbi1D0O7d+uf7kLZakeEx1IoNvR0MzOgRbVfSTWgIwBoAvuNz 1kVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FUwDfSDu; 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 u12si2505272edr.223.2020.10.06.07.10.04; Tue, 06 Oct 2020 07:10:28 -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=FUwDfSDu; 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 S1726984AbgJFOGD (ORCPT + 99 others); Tue, 6 Oct 2020 10:06:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:33144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbgJFOD4 (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 F0BB2207EA; 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=1601993035; bh=d71iacXbZw2ABLpWaZX1uaqcv45PDLhlX1j5I6cVz50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FUwDfSDujLWQS8DayiVH3m/HobXQRjmznN/U0cqD4y6KAEQxku0Mp3tTQqXlnYVhO BJ5970dRhwNUGBueOW7cfAPlrNVadjyW2gRW5dRUDoPPFYJl2vWrD35OGyQnnrzSAr 6AD3YyGu1aXWfwxE+7l3E0ZF4hIci0YXp/5hqAmM= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZJ-0019Gh-2A; Tue, 06 Oct 2020 16:03:53 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: [PATCH v5 48/52] docs: basics.rst: avoid duplicated C function declaration Date: Tue, 6 Oct 2020 16:03:45 +0200 Message-Id: <8e101f80a5bd2715b8727e07071b3dbb7b75971b.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 pci_device_id is already documented at pci.rst: ./Documentation/driver-api/basics.rst: WARNING: Duplicate C declaration, also defined in 'PCI/pci'. Declaration is 'pci_device_id'. The kstrtol and kstrtoul are already at kernel-api: ./Documentation/driver-api/basics.rst: WARNING: Duplicate C declaration, also defined in 'core-api/kernel-api'. Declaration is 'kstrtoul'. ./Documentation/driver-api/basics.rst: WARNING: Duplicate C declaration, also defined in 'core-api/kernel-api'. Declaration is 'kstrtol'. And the printk is already defined at printk-basics: ./Documentation/driver-api/basics.rst: WARNING: Duplicate C declaration, also defined in 'core-api/printk-basics'. Declaration is 'printk'. So, exclude those identifiers from basirs.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/basics.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/driver-api/basics.rst b/Documentation/driver-api/basics.rst index 63bbe3ed5e76..3e2dae954898 100644 --- a/Documentation/driver-api/basics.rst +++ b/Documentation/driver-api/basics.rst @@ -12,6 +12,8 @@ Driver device table .. kernel-doc:: include/linux/mod_devicetable.h :internal: + :no-identifiers: pci_device_id + Delaying, scheduling, and timer routines ---------------------------------------- @@ -96,9 +98,11 @@ Kernel utility functions .. kernel-doc:: include/linux/kernel.h :internal: + :no-identifiers: kstrtol kstrtoul .. kernel-doc:: kernel/printk/printk.c :export: + :no-identifiers: printk .. kernel-doc:: kernel/panic.c :export: -- 2.26.2