Skip to contentSkip to conversation

Add some missing kerneldoc comment fields for struct dev_dax

PATCH Applied John Groves 2 participants 2 messages Jan 10

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Add some missing kerneldoc comment fields for struct dev_dax

Add the missing @align and @memmap_on_memory fields to kerneldoc comment header for struct dev_dax.

Also, some other fields were followed by '-' and others by ':'. Fix all to be ':' for actual kerneldoc compliance.

Fixes 33cf94d71766 ("device-dax: make align a per-device property")
Fixes 4eca0ef49af9 ("dax/kmem: allow kmem to add memory with memmap_on_memory")
---
 drivers/dax/dax-private.h | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/dax/dax-private.h +6 -4
index 0867115aeef2..c6ae27c982f4 100644
@@ -67,14 +67,16 @@ struct dev_dax_range {
 /**
  * struct dev_dax - instance data for a subdivision of a dax region, and
  * data while the device is activated in the driver.
- * @region - parent region
- * @dax_dev - core dax functionality
+ * @region: parent region
+ * @dax_dev: core dax functionality
+ * @align: alignment of this instance
  * @target_node: effective numa node if dev_dax memory range is onlined
  * @dyn_id: is this a dynamic or statically created instance
  * @id: ida allocated id when the dax_region is not static
  * @ida: mapping id allocator
- * @dev - device core
- * @pgmap - pgmap for memmap setup / lifetime (driver owned)
+ * @dev: device core
+ * @pgmap: pgmap for memmap setup / lifetime (driver owned)
+ * @memmap_on_memory: allow kmem to put the memmap in the memory
  * @nr_range: size of @ranges
  * @ranges: range tuples of memory used
  */

base-commit: 9ace4753a5202b02191d54e9fdf7f9e3d02b85eb

Signature · 1 line
2.52.0
#1 lore raw
Quoted 6 lines · On Sat, 10 Jan 2026 13:18:04 -0600 John Groves <[email protected]> wrote:

Add the missing @align and @memmap_on_memory fields to kerneldoc comment header for struct dev_dax.

Also, some other fields were followed by '-' and others by ':'. Fix all to be ':' for actual kerneldoc compliance.

Thanks, I'll queue this for 6.19-rcX, but not for -stable.

I added "drivers/dax: " to the title to aid those who skim subjects (all of us!).