Re: [PATCH] docs/driver-api: infrastructure: add property.h and fwnode.h
From: Danilo Krummrich
Date: Mon Jul 27 2026 - 16:29:17 EST
On Sun Jul 26, 2026 at 11:12 PM CEST, Randy Dunlap wrote:
> @@ -17,6 +17,10 @@ The Basic Device Driver-Model Structures
> .. kernel-doc:: include/linux/device/driver.h
> :identifiers: probe_type device_driver
>
> +.. kernel-doc:: include/linux/property.h
> +
> +.. kernel-doc:: include/linux/fwnode.h
This introduces new warnings, since some fields of are not documented:
WARNING: ./include/linux/fwnode.h:185 struct member 'device_dma_supported' not described in 'fwnode_operations'
WARNING: ./include/linux/fwnode.h:185 struct member 'device_get_dma_attr' not described in 'fwnode_operations'
WARNING: ./include/linux/fwnode.h:185 struct member 'iomap' not described in 'fwnode_operations'
WARNING: ./include/linux/fwnode.h:185 struct member 'irq_get' not described in 'fwnode_operations'
I send a patch [1] to fix those; I will pick this one up once it landed.
Thanks,
Danilo
[1] https://lore.kernel.org/driver-core/20260727202748.2232253-1-dakr@xxxxxxxxxx/