Commit 3e8e590f authored by John Groves's avatar John Groves Committed by Andrew Morton
Browse files

drivers/dax: 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.

Link: https://lkml.kernel.org/r/20260110191804.5739-1-john@groves.net


Fixes: 33cf94d7 ("device-dax: make align a per-device property")
Fixes: 4eca0ef4 ("dax/kmem: allow kmem to add memory with memmap_on_memory")
Signed-off-by: default avatarJohn Groves <john@groves.net>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Joao Martins <joao.m.martins@oracle.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent f46c26f1
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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
 */