Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: basics.rst: avoid duplicated C function declaration

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 <mchehab+huawei@kernel.org>

+4
+4
Documentation/driver-api/basics.rst
··· 12 12 13 13 .. kernel-doc:: include/linux/mod_devicetable.h 14 14 :internal: 15 + :no-identifiers: pci_device_id 16 + 15 17 16 18 Delaying, scheduling, and timer routines 17 19 ---------------------------------------- ··· 98 96 99 97 .. kernel-doc:: include/linux/kernel.h 100 98 :internal: 99 + :no-identifiers: kstrtol kstrtoul 101 100 102 101 .. kernel-doc:: kernel/printk/printk.c 103 102 :export: 103 + :no-identifiers: printk 104 104 105 105 .. kernel-doc:: kernel/panic.c 106 106 :export: