Skip to content

Commit 3e8e590

Browse files
jagalacticakpm00
authored andcommitted
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: 33cf94d ("device-dax: make align a per-device property") Fixes: 4eca0ef ("dax/kmem: allow kmem to add memory with memmap_on_memory") Signed-off-by: John 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: Andrew Morton <akpm@linux-foundation.org>
1 parent f46c26f commit 3e8e590

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

drivers/dax/dax-private.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,16 @@ struct dev_dax_range {
6767
/**
6868
* struct dev_dax - instance data for a subdivision of a dax region, and
6969
* data while the device is activated in the driver.
70-
* @region - parent region
71-
* @dax_dev - core dax functionality
70+
* @region: parent region
71+
* @dax_dev: core dax functionality
72+
* @align: alignment of this instance
7273
* @target_node: effective numa node if dev_dax memory range is onlined
7374
* @dyn_id: is this a dynamic or statically created instance
7475
* @id: ida allocated id when the dax_region is not static
7576
* @ida: mapping id allocator
76-
* @dev - device core
77-
* @pgmap - pgmap for memmap setup / lifetime (driver owned)
77+
* @dev: device core
78+
* @pgmap: pgmap for memmap setup / lifetime (driver owned)
79+
* @memmap_on_memory: allow kmem to put the memmap in the memory
7880
* @nr_range: size of @ranges
7981
* @ranges: range tuples of memory used
8082
*/

0 commit comments

Comments
 (0)