2022-03-04 21:25:14

by Ira Weiny

[permalink] [raw]
Subject: [PATCH] fs/dax: Fix missing kdoc for dax_device

From: Ira Weiny <[email protected]>

struct dax_device has a member named ops which was undocumented.

Add the kdoc.

Signed-off-by: Ira Weiny <[email protected]>
---
drivers/dax/super.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/dax/super.c b/drivers/dax/super.c
index 5c003cc73d04..2fd3a01ba34b 100644
--- a/drivers/dax/super.c
+++ b/drivers/dax/super.c
@@ -22,6 +22,7 @@
* @cdev: optional character interface for "device dax"
* @private: dax driver private data
* @flags: state and boolean properties
+ * @ops: operations for this device
*/
struct dax_device {
struct inode inode;
--
2.35.1


2022-03-10 05:09:25

by Dan Williams

[permalink] [raw]
Subject: Re: [PATCH] fs/dax: Fix missing kdoc for dax_device

On Fri, Mar 4, 2022 at 12:47 PM <[email protected]> wrote:
>
> From: Ira Weiny <[email protected]>
>
> struct dax_device has a member named ops which was undocumented.
>
> Add the kdoc.
>

Applied, but I fixed up the subject prefix to just "dax:" since this
is shared between the fs-dax and device-dax.